summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fileserver.go2
-rw-r--r--go.mod9
-rw-r--r--go.sum5
3 files changed, 15 insertions, 1 deletions
diff --git a/fileserver.go b/fileserver.go
index e1431c4..5dd2365 100644
--- a/fileserver.go
+++ b/fileserver.go
@@ -1,4 +1,4 @@
-package main
+package main // import "contnet.org/util/cn-fileserver"
import (
"bytes"
diff --git a/go.mod b/go.mod
new file mode 100644
index 0000000..7533703
--- /dev/null
+++ b/go.mod
@@ -0,0 +1,9 @@
+module contnet.org/util/cn-fileserver
+
+go 1.12
+
+require (
+ contnet.org/lib/cnm-go v0.4.0
+ contnet.org/lib/cnp-go v0.2.0
+ github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
+)
diff --git a/go.sum b/go.sum
new file mode 100644
index 0000000..a805b9b
--- /dev/null
+++ b/go.sum
@@ -0,0 +1,5 @@
+contnet.org/lib/cnm-go v0.4.0 h1:28I1CXDp3QyBPaWy7lZeD2gIOdfAUD4ErBvuujgibFk=
+contnet.org/lib/cnm-go v0.4.0/go.mod h1:BL0FsUB8++6EDKgUz2ynC3IEgyouBkJXeBE6ZGh7f0s=
+contnet.org/lib/cnp-go v0.2.0 h1:hKzFwR7BRZdU6MrLzb3P76pIRuI2u1b6IiSg7voP7w8=
+contnet.org/lib/cnp-go v0.2.0/go.mod h1:gXG8x1iRjObzAJxRWlv1YrYiuCutye7SS+X9VArmxNA=
+github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8=