Tools to generate and test golang code.
Work in progress.
go get github.com/go-openapi/codegen/{module}go-openapi/codegen exposes a collection of code generation tools and utilities.
- formatting: go code formatting, including imports resolution and go.mod formatting
- funcmaps: useful pre-assembled funcmaps
- genapp: a composable app-generator to build clean, formatted go code
- gentesting: tools to test generated code from their behavior and desired properties
- mangling: name mangling utilities to produce clean go identifiers
- templates-repo: a repository to cache templates with a unified namespace
The root module github.com/go-openapi/codegen at the repo level maintains a few
dependencies outside of the standard library.
TBD
All kinds of contributions are welcome.
This repo is a go mono-repo.
More general guidelines are available here.
TODO
See https://github.com/go-openapi/codegen/releases
This library ships under the SPDX-License-Identifier: Apache-2.0.
Maintainers can cut a new release by running:
- running this workflow