Tag|Docs

Installation

Add the declarative struct tag parser to a Go module

Installation

Tag is distributed as a regular Go module. Add it to the module where you parse struct tags:

Terminal
go get go.codnect.io/tag

Then import it from the package that owns your tag schema:

parser.go
import "go.codnect.io/tag"

Check the module

The dependency is pinned in go.mod like any other Go package. You can inspect the resolved version with:

Terminal
go list -m go.codnect.io/tag

After installation, continue with a small schema and a first parse call.