summaryrefslogtreecommitdiff
path: root/example/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-09 12:54:04 -0600
committerJeff Carr <[email protected]>2025-01-09 12:54:04 -0600
commite79ba634661baba562fa0ab9245040bd37c29f4c (patch)
treea0f0908d87ff9197ebc87dd6a715e002b2a0785c /example/main.go
parentc99d8763e6c85513c700d58cd1e2163c31d2187d (diff)
rename dir
Diffstat (limited to 'example/main.go')
-rw-r--r--example/main.go21
1 files changed, 21 insertions, 0 deletions
diff --git a/example/main.go b/example/main.go
new file mode 100644
index 0000000..47dad4f
--- /dev/null
+++ b/example/main.go
@@ -0,0 +1,21 @@
+//go:build go1.20
+// +build go1.20
+
+package main
+
+import "go.wit.com/log"
+
+// sent via -ldflags
+var VERSION string
+var BUILDTIME string
+
+var sortmap map[string]string
+var marshalKeys []string
+var uniqueKeys []string
+
+var pb *Fruits
+
+func main() {
+ pb = NewFruits()
+ log.Info("did nothing yet", pb)
+}