summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcos <cos>2020-03-30 20:39:47 +0200
committercos <cos>2020-03-30 20:41:27 +0200
commit576890eac4e435a1e2b16480b74f75be19a91853 (patch)
tree8645c3aa77a5f8fb4598dfb40deeb200ec0d9191
parent97507a4bf930e13f607d9b920a5af5ab84ba5fa0 (diff)
downloadhisgle-576890eac4e435a1e2b16480b74f75be19a91853.zip
Initial addition of go.mod
This enables compiling without using golang's surreal $GOPATH madness. https://blog.golang.org/using-go-modules
-rw-r--r--go.mod8
-rw-r--r--hisgle.go2
2 files changed, 9 insertions, 1 deletions
diff --git a/go.mod b/go.mod
new file mode 100644
index 0000000..3540981
--- /dev/null
+++ b/go.mod
@@ -0,0 +1,8 @@
+module netizen.se/hisgle
+
+go 1.14
+
+require (
+ github.com/mxk/go-sqlite v0.0.0-20140611214908-167da9432e1f
+ github.com/pborman/getopt v0.0.0-20190409184431-ee0cd42419d3
+)
diff --git a/hisgle.go b/hisgle.go
index de01ce9..fd522f6 100644
--- a/hisgle.go
+++ b/hisgle.go
@@ -1,4 +1,4 @@
-package main
+package hisgle
import ( "fmt"
"log"