Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to disable generation of "go:generate" comment in generated code #2318

Open
jmcnevin opened this issue Jun 22, 2020 · 1 comment
Open

Comments

@jmcnevin
Copy link

Problem statement

It would be nice to be able to disable the creation of the go:generate comment inside of the default templates here. We find this conflicts with our CI flows more often that not.

Environment

version: v0.24.0
commit: 094421c

@fredbi
Copy link
Contributor

fredbi commented Jun 27, 2020

The configure API is generated only once and just sketches the init steps to run an API.
It is intended to be manually edited and customized. It is not regenerated when you run again the generation.
You may remove the go generate line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants