summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclsr <clsr@clsr.net>2021-02-05 08:19:56 +0000
committerclsr <clsr@clsr.net>2021-02-05 08:19:56 +0000
commit7108ef91944fb91f162704cb4f65c5dd42ea03f7 (patch)
treebaaf8177c46514b8a4f24f7099e7deaed9efedf4
parent13dc042467221b5daa29411f6b11119d05ae07ff (diff)
downloadcnp-req-master.tar.gz
cnp-req-master.zip
Add import comment and go.modHEADmaster
-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=