jason 075d766964 first | 3 yıl önce | |
---|---|---|
.. | ||
.travis.yml | 3 yıl önce | |
FAQ.md | 3 yıl önce | |
LICENSE | 3 yıl önce | |
README.md | 3 yıl önce | |
doc.go | 3 yıl önce | |
go.mod | 3 yıl önce | |
go.sum | 3 yıl önce | |
msgpack.org.md | 3 yıl önce |
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.
This repository consists of 4 modules:
github.com/ugorji/go
(requires github.com/ugorji/go/codec
)github.com/ugorji/go/codec
(requires github.com/ugorji/go
) READMEgithub.com/ugorji/go/codec/codecgen
(requires github.com/ugorji/go/codec
) READMEgithub.com/ugorji/go/codec/bench
(requires github.com/ugorji/go/codec
) READMEFor 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
github.com/ugorji/go
is here for historical compatibility reasons, as modules was initially introduced only at repo rootgithub.com/ugorji/go/codec/codecgen
generates high performance static encoders/decoders for given typesgithub.com/ugorji/go/codec/bench
benchmarks codec against other popular go libraries