diff options
author | cos <cos> | 2020-03-30 20:39:47 +0200 |
---|---|---|
committer | cos <cos> | 2020-03-30 20:41:27 +0200 |
commit | 576890eac4e435a1e2b16480b74f75be19a91853 (patch) | |
tree | 8645c3aa77a5f8fb4598dfb40deeb200ec0d9191 | |
parent | 97507a4bf930e13f607d9b920a5af5ab84ba5fa0 (diff) | |
download | hisgle-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.mod | 8 | ||||
-rw-r--r-- | hisgle.go | 2 |
2 files changed, 9 insertions, 1 deletions
@@ -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 +) @@ -1,4 +1,4 @@ -package main +package hisgle import ( "fmt" "log" |