From 766dd89ffa198a315b043230f904636461c41efe Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 21 Oct 2025 01:49:36 +0900 Subject: internal: clean up build strings These names are less ambiguous and should be understandable without reading the source code. Signed-off-by: Ophestra --- internal/comp.go | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 internal/comp.go (limited to 'internal/comp.go') diff --git a/internal/comp.go b/internal/comp.go deleted file mode 100644 index 28ee6224..00000000 --- a/internal/comp.go +++ /dev/null @@ -1,17 +0,0 @@ -package internal - -const compPoison = "INVALIDINVALIDINVALIDINVALIDINVALID" - -var ( - version = compPoison -) - -// checkComp validates string value set at compile time. -func checkComp(s string) (string, bool) { return s, s != compPoison && s != "" } - -func Version() string { - if v, ok := checkComp(version); ok { - return v - } - return "impure" -} -- cgit v1.3.1