mirror of
https://github.com/golang/go
synced 2024-11-14 08:00:22 -07:00
doc: switch from spaces to tabs for indentation in example code
This is the standard that gofmt uses.
This commit is contained in:
parent
b3a854c733
commit
b2b7af0df9
@ -307,7 +307,7 @@ package main
|
|||||||
import "fmt"
|
import "fmt"
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
fmt.Printf("hello, world\n")
|
fmt.Printf("hello, world\n")
|
||||||
}
|
}
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
@ -242,7 +242,7 @@ package main
|
|||||||
import "fmt"
|
import "fmt"
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
fmt.Printf("hello, world\n")
|
fmt.Printf("hello, world\n")
|
||||||
}
|
}
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user