Skip to content

go-openapi/codegen

codegen

Tests Coverage CI vuln scan CodeQL

Release Go Report Card CodeFactor Grade License

GoDoc Discord Channel go version Top language Commits since latest release


Tools to generate and test golang code.

Status

Work in progress.

Import this library in your project

go get github.com/go-openapi/codegen/{module}

Contents

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

Dependencies

The root module github.com/go-openapi/codegen at the repo level maintains a few dependencies outside of the standard library.

TBD


Note to contributors

All kinds of contributions are welcome.

This repo is a go mono-repo.

More general guidelines are available here.

Roadmap

TODO

Change log

See https://github.com/go-openapi/codegen/releases

Licensing

This library ships under the SPDX-License-Identifier: Apache-2.0.

Cutting a new release

Maintainers can cut a new release by running:

About

Tools to generate and test golang code

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages