directory
Version:
v0.7.0
Opens a new window with list of versions in this module.
Published: Apr 14, 2025
License: MIT
Opens a new window with license information.
README
¶
This tool was built for generating capability Go types from the JSON schema.
Conventions
- Capability JSON schemas must be named using this pattern
[capability_name]_[capability_type].json.
- Generated types are placed next to the JSON schema and named using this pattern
[capability_name]_[capability_type]_generated.go.
Running
All commands run from the root of the repo.
Help:
go run ./pkg/capabilities/cli/cmd/generate --help
Generate types:
go run ./pkg/capabilities/cli/cmd/generate-types
Directories
¶
Click to show internal directories.
Click to hide internal directories.