Skip to content

Instantly share code, notes, and snippets.

@hogedigo
Created July 5, 2014 11:13
Show Gist options
  • Save hogedigo/f0853fffcfcb3819a4fd to your computer and use it in GitHub Desktop.
Save hogedigo/f0853fffcfcb3819a4fd to your computer and use it in GitHub Desktop.
GAE/Go save struct to memcache as JSON
memcache.JSON.Add(c, &memcache.Item{Key:"test", Object: struct {
Name string
Address string
} {
"hoge",
"moke",
}})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment