Skip to content

Instantly share code, notes, and snippets.

@jjuliano
Last active December 16, 2019 11:14
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 jjuliano/82ead0799fb7e86232397813590a5469 to your computer and use it in GitHub Desktop.
Save jjuliano/82ead0799fb7e86232397813590a5469 to your computer and use it in GitHub Desktop.
package main
import "fmt"
type dog struct {
breed string
}
func main() {
kind := dog{
breed: "Rottweiler",
}
fmt.Println(kind.breed)
}
// Rottweiler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment