From 814c219baef8484be2f0dc86e5c8e7dce5239f73 Mon Sep 17 00:00:00 2001 From: nathany Date: Wed, 10 Dec 2014 22:02:06 -0800 Subject: [PATCH] Comments: syntax highlighting --- Comments.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Comments.md b/Comments.md index f871ddd0..b5339937 100644 --- a/Comments.md +++ b/Comments.md @@ -4,7 +4,7 @@ Every package should have a package comment. It should immediately precede the ` Subsequent sentences and/or paragraphs can give more details. Sentences should be properly punctuated. -``` +```go // Package superman implements methods for saving the world. // // Experience has shown that a small number of procedures can prove @@ -14,7 +14,7 @@ package superman Nearly every top-level type, const, var and func should have a comment. A comment for bar should be in the form "_bar_ floats on high o'er vales and hills.". The first letter of _bar_ should not be capitalized unless it's capitalized in the code. -``` +```go // enterOrbit causes Superman to fly into low Earth orbit, a position // that presents several possibilities for planet salvation. func enterOrbit() os.Error {