Closed zjzjzjzj1874 closed 1 year ago
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.
main.go
Additionally, when retrieving the version, there is no need for any other packages; simply using the cat command is sufficient.
cat
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.