diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..88dd6fd --- /dev/null +++ b/go.mod @@ -0,0 +1,9 @@ +module git.icod.de/dalu/gopiwik + +go 1.15 + +require ( + gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect + gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22 + gopkg.in/yaml.v2 v2.4.0 // indirect +) diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..23924df --- /dev/null +++ b/go.sum @@ -0,0 +1,12 @@ +github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI= +github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= +github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= +github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= +gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22 h1:VpOs+IwYnYBaFnrNAeB8UUWtL3vEUnzSCL1nVjPhqrw= +gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22/go.mod h1:yeKp02qBN3iKW1OzL3MGk2IdtZzaj7SFntXj72NppTA= +gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= +gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= diff --git a/main.go b/main.go index 0853e92..947dc88 100644 --- a/main.go +++ b/main.go @@ -4,8 +4,8 @@ import ( "log" "net/http" - "github.com/dalu/gopiwik/mongo" - "github.com/dalu/gopiwik/piwik" + "git.icod.de/dalu/gopiwik/mongo" + "git.icod.de/dalu/gopiwik/piwik" "gopkg.in/mgo.v2" ) diff --git a/mongo/site.go b/mongo/site.go index c920b9d..798d694 100644 --- a/mongo/site.go +++ b/mongo/site.go @@ -1,7 +1,7 @@ package mongo import ( - "github.com/dalu/gopiwik/piwik" + "git.icod.de/dalu/gopiwik/piwik" "gopkg.in/mgo.v2" "gopkg.in/mgo.v2/bson" ) diff --git a/mongo/visit.go b/mongo/visit.go index 3173d4e..ca235a1 100644 --- a/mongo/visit.go +++ b/mongo/visit.go @@ -1,7 +1,7 @@ package mongo import ( - "github.com/dalu/gopiwik/piwik" + "git.icod.de/dalu/gopiwik/piwik" "gopkg.in/mgo.v2" "gopkg.in/mgo.v2/bson" )