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
GitHub - fjl/gencodec: Command gencodec generates marshaling methods for Go struct types.
{{ message }}
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Latest commitHistory | ||||
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
Command gencodec generates marshaling methods for Go struct types.