Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 319 Bytes

README.md

File metadata and controls

7 lines (4 loc) · 319 Bytes

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.