Skip to content
This repository has been archived by the owner on May 19, 2021. It is now read-only.

Option to suppress generation date in the output #2

Closed
mejedi opened this issue Jan 28, 2021 · 1 comment
Closed

Option to suppress generation date in the output #2

mejedi opened this issue Jan 28, 2021 · 1 comment

Comments

@mejedi
Copy link

mejedi commented Jan 28, 2021

We'd like to introduce a validation step in our CI to ensure that all generated files were committed. The idea is to run go generate and check git status afterwards. Since textFileToGoConst puts the generation date in the output, we see changes every time.

@logrusorgru
Copy link
Owner

Also, refer golang/go#35950 that, seems, coming soon.

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

No branches or pull requests

2 participants