réplica de
https://github.com/therootcompany/go-gitver.git
sincronizado 2024-11-16 17:08:59 +00:00
v1.1.1: update docs, template conditionals
Este cometimento está contido em:
ascendente
639a7e246f
cometimento
0b8c2d86df
@ -209,9 +209,9 @@ package {{ .Package }}
|
|||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
GitRev = "{{ .GitRev }}"
|
GitRev = "{{ .GitRev }}"
|
||||||
if "" != "{{ .Version }}" {
|
{{- if .Version }}
|
||||||
GitVersion = "{{ .Version }}"
|
GitVersion = "{{ .Version }}"
|
||||||
}
|
{{ end -}}
|
||||||
GitTimestamp = "{{ .Timestamp }}"
|
GitTimestamp = "{{ .Timestamp }}"
|
||||||
}
|
}
|
||||||
`))
|
`))
|
||||||
|
|||||||
Carregando…
x
Criar uma nova questão referindo esta
Bloquear um utilizador