github.com/woven-planet/go-zserio (go): zserio is a serialization framework designed for environments where storage or bandwidth is the most critical constraint. The primary use case is the NDS.Live format for automobile map data.  This package implements the de(serialization) of the core zserio data types, as well as a code generator to create Go code from zserio schema definitions.  You can use the normal go install method to install go-zserio:  The most common, and strongly preferred, method to use zserio is to write a zserio schema, and then generate code to define the data structures and serialization code.  As an example let's look at a zserio schema for a contact list. In a minimal example we only define an Addresses structure to store address information.  After saving this in schema/contacts.zs you can generate Go code for this schema with this command:  This will create a number of code files in the "contacts" directory. The root package is set to "myprojects.home/zserio-example", and must be defined to import statements can be generated.  You can now import the generated code, and serialize Address records using zserio:  For subsequent code generation you can use:  https://zserio.org
Keywords: go|golang|zserio