Skip to content

surrealdb/cork

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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