summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cnpreq.go2
-rw-r--r--go.mod5
-rw-r--r--go.sum2
3 files changed, 8 insertions, 1 deletions
diff --git a/cnpreq.go b/cnpreq.go
index f0efb7c..dbafd40 100644
--- a/cnpreq.go
+++ b/cnpreq.go
@@ -1,4 +1,4 @@
-package main
+package main // import "contnet.org/util/cnp-req"
import (
"bytes"
diff --git a/go.mod b/go.mod
new file mode 100644
index 0000000..ebfbe7a
--- /dev/null
+++ b/go.mod
@@ -0,0 +1,5 @@
+module contnet.org/util/cnp-req
+
+go 1.12
+
+require contnet.org/lib/cnp-go v0.2.0
diff --git a/go.sum b/go.sum
new file mode 100644
index 0000000..ec1b441
--- /dev/null
+++ b/go.sum
@@ -0,0 +1,2 @@
+contnet.org/lib/cnp-go v0.2.0 h1:hKzFwR7BRZdU6MrLzb3P76pIRuI2u1b6IiSg7voP7w8=
+contnet.org/lib/cnp-go v0.2.0/go.mod h1:gXG8x1iRjObzAJxRWlv1YrYiuCutye7SS+X9VArmxNA=