Skip to content

Instantly share code, notes, and snippets.

@huytd
Last active August 29, 2015 14:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save huytd/651d1eb23fb203b18ef1 to your computer and use it in GitHub Desktop.
Save huytd/651d1eb23fb203b18ef1 to your computer and use it in GitHub Desktop.
Tyrion Lannister in Go
package main
import "fmt"
type Lannister struct{}
func (l *Lannister) Roar() {
fmt.Println("Hear me roar!!!")
}
func main() {
var tyrion = Lannister{}
tyrion.Roar()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment