Skip to content

Instantly share code, notes, and snippets.

@fsouza
Forked from andrewsmedina/gist:2191561
Created March 25, 2012 18:02
Show Gist options
  • Save fsouza/2198685 to your computer and use it in GitHub Desktop.
Save fsouza/2198685 to your computer and use it in GitHub Desktop.
type Person struct {
Name string
Age int
}
p := Person{Name: "andrews", Age: 1000}
Update(p, {"age": 27})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment