Created
July 5, 2014 11:13
-
-
Save hogedigo/f0853fffcfcb3819a4fd to your computer and use it in GitHub Desktop.
GAE/Go save struct to memcache as JSON
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
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