🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

github.com/fjl/gencodec

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/fjl/gencodec

v0.1.1
Version published
Created

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.

FAQs

Package last updated on 14 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts