From 7108ef91944fb91f162704cb4f65c5dd42ea03f7 Mon Sep 17 00:00:00 2001 From: clsr Date: Fri, 5 Feb 2021 08:19:56 +0000 Subject: Add import comment and go.mod --- cnpreq.go | 2 +- go.mod | 5 +++++ go.sum | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 go.mod create mode 100644 go.sum 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= -- cgit