Leave placeholders in version string before go generate is run

This commit is contained in:
Jiayu Yi 2018-08-18 21:49:08 +08:00
parent bf3e053367
commit 5b1c71e51f
No known key found for this signature in database
GPG key ID: 84B60878E8AEAD6C

View file

@ -3,4 +3,4 @@
package main package main
const Version = "secure v0.1.0 (windows-amd64) go1.10\nhttps://github.com/yi-jiayu/secure" const Version = "secure {{ .Version }} ({{ .GOOS }}-{{ .GOARCH }}) {{ .GoVersion }}\n{{ .Homepage }}"