Categorygithub.com/harmony-ek/gencodec
repositorypackage
0.0.0-20190215044613-e6740dbdd846
Repository: https://github.com/harmony-ek/gencodec.git
Documentation: pkg.go.dev

# README

Command gencodec generates marshaling methods for Go struct types.

The generated methods add features which json and other marshaling packages cannot offer.

gencodec -dir . -type MyType -formats json,yaml,toml -out mytype_json.go

See the documentation for more details.