Created
July 10, 2015 20:55
-
-
Save aflag/4dd47bc14869236d96f5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
) | |
type A struct { | |
} | |
func (a *A) Magic() { | |
fmt.Println("Do magic") | |
} | |
func (a *A) AllWork() { | |
fmt.Println("Lift some bricks") | |
a.Magic() | |
fmt.Println("Gently lay them down") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment