]> Cypherpunks repositories - gostls13.git/commitdiff
doc: switch from spaces to tabs for indentation in example code
authorJeremy Schlatter <jeremy.schlatter@gmail.com>
Wed, 11 Apr 2018 03:22:59 +0000 (03:22 +0000)
committerIan Lance Taylor <iant@golang.org>
Wed, 11 Apr 2018 04:30:47 +0000 (04:30 +0000)
This is the standard that gofmt uses.

Change-Id: I30e70611ccd0d3bbaa500fa84e9d1ba75970f0bc
GitHub-Last-Rev: b2b7af0df9759ad447b6fd3551ea356804d136b2
GitHub-Pull-Request: golang/go#24802
Reviewed-on: https://go-review.googlesource.com/106123
Reviewed-by: Ian Lance Taylor <iant@golang.org>
doc/install-source.html
doc/install.html

index 4ed9487504c897f4bb5ae00b404ce2b013efe585..1928b0ba9b4b76cb8af5ce8656a8941eb66ed927 100644 (file)
@@ -307,7 +307,7 @@ package main
 import "fmt"
 
 func main() {
-    fmt.Printf("hello, world\n")
+       fmt.Printf("hello, world\n")
 }
 </pre>
 
index 79ae9664c89af6ce75b42a37d12490838ec0401b..cd9abcc57d41a8122ecf2027784f28f969b44b67 100644 (file)
@@ -242,7 +242,7 @@ package main
 import "fmt"
 
 func main() {
-    fmt.Printf("hello, world\n")
+       fmt.Printf("hello, world\n")
 }
 </pre>