Stephen McQuay 1 year ago
commit
f0afc7f0af
Signed by: Stephen McQuay (smcquay) <stephen@mcquay.me> GPG Key ID: 4E4B72F479BA3CE5
2 changed files with 14 additions and 0 deletions
  1. 11
    0
      cmd/foo/main.go
  2. 3
    0
      vers.go

+ 11
- 0
cmd/foo/main.go View File

@@ -0,0 +1,11 @@
1
+package main
2
+
3
+import (
4
+	"fmt"
5
+
6
+	"mcquay.me/vers"
7
+)
8
+
9
+func main() {
10
+	fmt.Printf("version: %v\n", vers.Version)
11
+}

+ 3
- 0
vers.go View File

@@ -0,0 +1,3 @@
1
+package vers
2
+
3
+var Version = "u"

Loading…
Cancel
Save