Skip to content

Instantly share code, notes, and snippets.

@andrewsmedina
Created March 25, 2012 05:39
Show Gist options
  • Save andrewsmedina/2191561 to your computer and use it in GitHub Desktop.
Save andrewsmedina/2191561 to your computer and use it in GitHub Desktop.
type Person struct {
Name string
Age int
}
p := Person{Name: "andrews", Age: 1000}
Update(Person, p, {"age": 27})
@fsouza
Copy link

fsouza commented Mar 25, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment