Skip to content

mus-format/examples-go

Repository files navigation

MUS Go Examples

The following examples demonstrate the MUS serialization framework (serving as a primary guide for both mus and mus-stream libraries).

Code Generation

Manual Serialization

  • types: Handling of arrays, slices, maps, and structs.
  • validation: Data validation during unmarshalling.
  • out_of_order: Deserializing values in reverse order.

Typed Serialization & Multi-format

  • typed: Versioning, interfaces, DTM, etc.
  • protobuf: Implementing Protobuf-style encoding.

Advanced Features

  • unsafe: High-performance serialization.
  • pm: Serializing linked lists and cyclic graphs (Pointer Mapping).
  • marshal_func: Using the mus.Marshal function.

About

Demonstrates several examples of using the mus-go serializer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors