Skip to content

Instantly share code, notes, and snippets.

@bacongobbler
Created November 6, 2019 19:00
Show Gist options
  • Save bacongobbler/223b2287b49d59bb3e672a26c0ebf3c0 to your computer and use it in GitHub Desktop.
Save bacongobbler/223b2287b49d59bb3e672a26c0ebf3c0 to your computer and use it in GitHub Desktop.
package main
import "fmt"
type Person struct {
Name string
}
func main() {
p := &Person{Name: "Matthew Fisher"}
fmt.Println(p.Name)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment