gofmt -l -w -tabs=false -tabwidth=2 *

This commit is contained in:
Steven Degutis
2012-03-16 10:43:33 -05:00
parent 0d62c739d6
commit ce4ffc8a43
11 changed files with 23 additions and 23 deletions

View File

@@ -3,17 +3,17 @@ package go_koans
func aboutStructs() {
var bob struct {
name string
age int
age int
}
bob.name = "bob"
bob.age = 30
assert(bob.name == __string__) // structs are collections of named variables
assert(bob.age == __int__) // each field has both setter and getter behavior
assert(bob.age == __int__) // each field has both setter and getter behavior
type person struct {
name string
age int
age int
}
var john person