blob: 087666ebef7642cee35697c74d6180a1d11816a2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package main
import (
"log"
_ "embed"
)
//go:embed VERSION.txt
var version string
func init() {
if version == "" {
log.Fatal("Bad build: No version string embedded.")
}
}
|