Created
August 31, 2015 22:09
-
-
Save tdshipley/9d87c1c1b96b67a80053 to your computer and use it in GitHub Desktop.
A YAML struct for Go
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
type Person struct { | |
Name string `yaml:"name"` | |
Age int `yaml:"age"` | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment