Monday, December 18, 2017

Proper way how-to marshal and unmarshal Golang structs within the Redis cache



Now this one will be really simple, and, regardless of that there are many ways how you can encode and decode structs, I’ve chosen JSON as a package for encoding and decoding simply because it’s very easy to read caches, you can use struct tags within and in general, I love JSON.

No comments:

The Y Combinator (Slight Return)

Tiger got to hunt, Bird got to fly; Lisper got to sit and wonder, (Y (Y Y))? Tiger got to sleep, Bird got to land; Lisper got to tell hims...