Command gencodec generates marshaling methods for Go struct types.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gencodec/README.md

8 lines
319 B

Command gencodec generates marshaling methods for Go struct types.
8 years ago
The generated methods add features which json and other marshaling packages cannot offer.
8 years ago
gencodec -dir . -type MyType -formats json,yaml,toml -out mytype_json.go
8 years ago
See [the documentation for more details](https://godoc.org/github.com/fjl/gencodec).