Skip to content
/ go Public

idiomatic codec and rpc lib for msgpack, cbor, json, etc. msgpack.org[Go]

License

Notifications You must be signed in to change notification settings

ugorji/go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sourcegraph Build and Test go-codec codecov Go Reference rcard License

go-codec

This repository contains the go-codec library, the codecgen tool and benchmarks for comparing against other libraries.

This is a High Performance, Feature-Rich Idiomatic Go 1.4+ codec/encoding library for binary and text formats: binc, msgpack, cbor, json and simple.

It fully supports the legacy GOPATH and the new go modules modes.

Code Organization and Module Support

This repository consists of 4 modules:

  • github.com/ugorji/go/codec README
  • github.com/ugorji/go/codec/codecgen (requires github.com/ugorji/go/codec) README
  • github.com/ugorji/go/codec/bench (requires github.com/ugorji/go/codec) README
  • github.com/ugorji/go (requires github.com/ugorji/go/codec)

For encoding and decoding, the github.com/ugorji/go/codec module is sufficient.

To install:

go get github.com/ugorji/go/codec

The other modules exist for specific uses, and all require github.com/ugorji/go/codec