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