summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-05 01:19:42 -0600
committerJeff Carr <[email protected]>2025-01-05 01:19:42 -0600
commit2c3babe91788270e6c7746b0a87f4976f7945dc0 (patch)
treec476cfd43b7f0683d6e302b89d5797456376af4b /main.go
parent7f8cdac6fad06a548997f9bb1fbdc6507836efb0 (diff)
tries to dump some info about a repov0.0.3
Diffstat (limited to 'main.go')
-rw-r--r--main.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/main.go b/main.go
new file mode 100644
index 0000000..02da893
--- /dev/null
+++ b/main.go
@@ -0,0 +1,13 @@
+package main
+
+// are sent via -ldflags at buildtime
+var VERSION string
+var BUILDTIME string
+
+func main() {
+ if argv.Refs {
+ showRefs()
+ } else {
+ testMessage()
+ }
+}