Categorygithub.com/surrealdb/cork
repositorypackage
0.0.0-20211208110447-54ccd49930c9
Repository: https://github.com/surrealdb/cork.git
Documentation: pkg.go.dev

# README

cork

An efficient binary serialisation format for Go (Golang).

Features

  • Simple and efficient encoding
  • Based on MsgPack serialization algorithm
  • Stores go type information inside encoded data
  • Faster serialization than gob binary encoding
  • More efficient output data size than gob binary encoding
  • Serializes native go types, and arbritary structs or interfaces
  • Enables predetermined encoding for structs without run-time reflection
  • Allows serialization to and from maps, structs, slices, and nil interfaces

Installation

go get github.com/surrealdb/cork