Registry / utility / junk1tm-musttag

junk1tm-musttag

JSON →
library0.14.0gogounverified

Package musttag implements a Go static analysis tool that enforces struct tags on fields.

go get github.com/junk1tm/musttag
INSTALL
IMPORT
SIG · JUNK1TM-MUSTTAG
J
junk1tm-musttag
utilitygov0.14.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

musttag
github.com/junk1tm/musttag

Configure the musttag analyzer to enforce JSON struct tags.

import "github.com/junk1tm/musttag" func main() { // Run the analyzer on a package musttag.Analyzer.Flags.Set("tags", "json") // Use with go vet or as a standalone tool }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.14.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
junk1tm-musttag — go get junk1tm-musttag · libregistry