mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
doc/progs: gofmt -w
R=r, gri, r CC=golang-dev https://golang.org/cl/4662085
This commit is contained in:
parent
e86d727e60
commit
ab3365d34e
13 changed files with 57 additions and 60 deletions
|
|
@ -8,7 +8,9 @@ import "os"
|
|||
|
||||
func main() {
|
||||
s := "hello"
|
||||
if s[1] != 'e' { os.Exit(1) }
|
||||
if s[1] != 'e' {
|
||||
os.Exit(1)
|
||||
}
|
||||
s = "good bye"
|
||||
var p *string = &s
|
||||
*p = "ciao"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue