ddollar / foreman

Manage Procfile-based applications

Home Page:http://ddollar.github.com/foreman

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Version Optimize

zjzjzjzj1874 opened this issue · comments

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.