• Introduction of binary protocol gob and msgpack


    This paper mainly introduces the basic use of binary protocol gob and msgpack. Recently, when writing a session service of gin framework, we encountered a problem. The number types (integer, floating point, etc.) stored in the JSON package of go language in the serialized empty interface are serialized into float64 type. We construct a structure […]