From 576890eac4e435a1e2b16480b74f75be19a91853 Mon Sep 17 00:00:00 2001 From: cos Date: Mon, 30 Mar 2020 20:39:47 +0200 Subject: Initial addition of go.mod This enables compiling without using golang's surreal $GOPATH madness. https://blog.golang.org/using-go-modules --- go.mod | 8 ++++++++ hisgle.go | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 go.mod 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" -- cgit v1.2.3