Categorygithub.com/abakum/version
repositorypackage
0.1.4-lw
Repository: https://github.com/abakum/version.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# README

version

Add //go:generate version or //go:generate github.com/abakum/version to main.go so that changes in the VERSION file, and for Windows in the 'winres' directory, affect the result of 'go build'. After the changes and before go build, run go generate.

Добавь //go:generate version или //go:generate github.com/abakum/version в main.go чтоб изменения в файле VERSION, а для Windows и в каталоге winres, учитывались при go build. После изменений и перед go build запускай go generate.

example