Created
July 4, 2015 18:24
-
-
Save huytd/84c7303141e1c661c45a to your computer and use it in GitHub Desktop.
Tyrion Lannister in external Go file. Main package.
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 Lannister struct{} | |
func (l *Lannister) Roar() { | |
fmt.Println("Hear me roar!!!") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment