EDOUBLEDSPACE

My *fake* ocd kicked in
This commit is contained in:
Nami-Doc 2014-09-05 15:05:13 +02:00
parent dc2487aced
commit 0846eaa0e7

View File

@ -275,7 +275,7 @@ func (p pair) String() string { // p is called the "receiver"
}
func learnInterfaces() {
// Brace syntax is a "struct literal." It evaluates to an initialized
// Brace syntax is a "struct literal". It evaluates to an initialized
// struct. The := syntax declares and initializes p to this struct.
p := pair{3, 4}
fmt.Println(p.String()) // Call String method of p, of type pair.