aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/comp.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/comp.go')
-rw-r--r--internal/comp.go17
1 files changed, 0 insertions, 17 deletions
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"
-}