summaryrefslogtreecommitdiff
path: root/version.go
blob: 6562d6c7255e139e8b6b15fc5f775f2f2a2f9a01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package main

import (
	_ "embed"
	"log"
)

//go:embed VERSION.txt
var version string

func init() {
	if version == "" {
		log.Fatal("Bad build: No version string embedded.")
	}
}