Besides the well-known JSON and XML, Go also offers the binary format, gob. This recipe goes through the basic concept of how to use the gob package. Create the gob.go file with the following content: package main import ( "bytes" "encodin...

Markdown supported · ⌘↵ to post
No responses yet.