Monthly Archives: May 2018
Serializing/Deserializing a complex GO struct to store externally (i.e. in a database, redis, or text file)
- Posted by Michael MacDonald
- on May, 19, 2018
- in Go
- Blog No Comments.
Sometimes one needs to serialize data to store outside of a go application. One common approach is to save it as a JSON blob which can have it’s own challenges when retrieving it. In this article I will show you how to make use of GOB to serialize a complex struct into textual data than […]
Read MoreRecent Posts
- The shape of structured data
- Writing very small executable
- The challenge of type asserting []interface{} to string slices.
- Serializing/Deserializing a complex GO struct to store externally (i.e. in a database, redis, or text file)
- Fun with golang, Google Maps api, and proxying requests