Go Reference
Generated Structs
Browse auto-generated Go structs for every construct — field tags, types, and schema property mappings.
Helper Conventions
When and how to write *_helper.go files — SQL drivers, TableName(), Value()/Scan() rules.
Quick Start
go get github.com/meshery/schemas@latest
import (
"github.com/meshery/schemas/models/v1beta1/connection"
"github.com/meshery/schemas/models/core"
)
Import Path Reference
| Package | Path | Contains |
|---|---|---|
| Core types | github.com/meshery/schemas/models/core |
Uuid, Time, Id, Map, NullTime, MapObject, SQL helpers |
| v1beta1 constructs | github.com/meshery/schemas/models/v1beta1/<construct> |
Generated struct + helpers |
| v1beta2 constructs | github.com/meshery/schemas/models/v1beta2/<construct> |
Generated struct + helpers |
| v1alpha1 constructs | github.com/meshery/schemas/models/v1alpha1 |
Legacy generated types |
Single core package
All core types resolve to
models/core regardless of which schema version references them. The generator's import mapping coalesces v1alpha1/core, v1beta1/core, and v1beta2/core into the single models/core package.