Skip to content

Instantly share code, notes, and snippets.

@thethomaseffect
Created October 21, 2013 16:03
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 thethomaseffect/7086384 to your computer and use it in GitHub Desktop.
Save thethomaseffect/7086384 to your computer and use it in GitHub Desktop.
Simple Go Example
package main
import "fmt"
type Person struct {
name string
}
func (p Person) GetName() string {
return p.name
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment