blob: a17ac127490cff0f91addd4bde08ba8573d3485a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package main
import (
"fmt"
"a.yandex-team.ru/library/go/core/buildinfo"
)
func main() {
if buildinfo.Info.ProgramVersion != "" {
fmt.Print(buildinfo.Info.ProgramVersion)
} else {
fmt.Printf("ProgramVersion is not available\n")
}
}
|