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

【Optimize】version #142

Open
zjzjzjzj1874 opened this issue Apr 21, 2023 · 0 comments
Open

【Optimize】version #142

zjzjzjzj1874 opened this issue Apr 21, 2023 · 0 comments

Comments

@zjzjzjzj1874
Copy link

There is no doubt that putting the version in the main.go function will work.
However, it is even better to put the version in a static file.

Additionally, when retrieving the version, there is no need for any other packages; simply using the cat command is sufficient.

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

No branches or pull requests

1 participant