aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/comp.go
blob: e7064db01d5c64a52f8cd81b4ac905cbafc5147d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
package internal

const compPoison = "INVALIDINVALIDINVALIDINVALIDINVALID"

var (
	Version = compPoison
)

// Check validates string value set at compile time.
func Check(s string) (string, bool) {
	return s, s != compPoison && s != ""
}