summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Häggqvist <[email protected]>2020-04-06 22:25:04 +0200
committerVictor Häggqvist <[email protected]>2020-04-06 22:25:04 +0200
commitd0a84f15f765383e077fee487af61c0e2e6bdf6d (patch)
treef252fe29ecaee7670cbca51e54c0e122066d0a04
parentf96b7fc1e15ad88c80814e6b153c74453098f499 (diff)
use mod
-rw-r--r--Gopkg.lock27
-rw-r--r--Gopkg.toml44
-rw-r--r--Makefile2
-rw-r--r--go.mod9
-rw-r--r--go.sum6
-rw-r--r--vendor/modules.txt9
6 files changed, 25 insertions, 72 deletions
diff --git a/Gopkg.lock b/Gopkg.lock
deleted file mode 100644
index 9b76a12..0000000
--- a/Gopkg.lock
+++ /dev/null
@@ -1,27 +0,0 @@
-# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'.
-
-
-[[projects]]
- name = "github.com/go-ini/ini"
- packages = ["."]
- revision = "32e4c1e6bc4e7d0d8451aa6b75200d19e37a536a"
- version = "v1.32.0"
-
-[[projects]]
- branch = "master"
- name = "github.com/gocarina/gocsv"
- packages = ["."]
- revision = "45cbb9cde54ea46d800c4fcd1a686949ac6d87a3"
-
-[[projects]]
- branch = "master"
- name = "github.com/victorhaggqvist/pflag"
- packages = ["."]
- revision = "de7e39409b4761c1704b5c822a8a152f4493a161"
-
-[solve-meta]
- analyzer-name = "dep"
- analyzer-version = 1
- inputs-digest = "5ce12f080b999205439d5cef3b04c7af7cbfe5ecebae43687656e05054b2ad76"
- solver-name = "gps-cdcl"
- solver-version = 1
diff --git a/Gopkg.toml b/Gopkg.toml
deleted file mode 100644
index 1481acc..0000000
--- a/Gopkg.toml
+++ /dev/null
@@ -1,44 +0,0 @@
-# Gopkg.toml example
-#
-# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
-# for detailed Gopkg.toml documentation.
-#
-# required = ["github.com/user/thing/cmd/thing"]
-# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
-#
-# [[constraint]]
-# name = "github.com/user/project"
-# version = "1.0.0"
-#
-# [[constraint]]
-# name = "github.com/user/project2"
-# branch = "dev"
-# source = "github.com/myfork/project2"
-#
-# [[override]]
-# name = "github.com/x/y"
-# version = "2.4.0"
-#
-# [prune]
-# non-go = false
-# go-tests = true
-# unused-packages = true
-
-
-[[constraint]]
- name = "github.com/go-ini/ini"
- version = "1.8.6"
-
-
-[[constraint]]
- name = "github.com/gocarina/gocsv"
- branch = "master"
-
-
-[[constraint]]
- branch = "master"
- name = "github.com/victorhaggqvist/pflag"
-
-[prune]
- go-tests = true
- unused-packages = true
diff --git a/Makefile b/Makefile
index b8156e9..6446110 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ all:
.PHONY: build
build:
- goxc -pv="$(VERSION)" -build-ldflags='-X main.version=$(VERSION)' xc
+ go build -ldflags "-s -X main.version=$(VERSION)"
.PHONY: package
package: man
diff --git a/go.mod b/go.mod
new file mode 100644
index 0000000..29ec97a
--- /dev/null
+++ b/go.mod
@@ -0,0 +1,9 @@
+module go.snilius.com/goboom
+
+go 1.14
+
+require (
+ github.com/go-ini/ini v1.32.0
+ github.com/gocarina/gocsv v0.0.0-20180113182942-45cbb9cde54e
+ github.com/victorhaggqvist/pflag v0.0.2-0.20160203232644-de7e39409b47
+)
diff --git a/go.sum b/go.sum
new file mode 100644
index 0000000..b067791
--- /dev/null
+++ b/go.sum
@@ -0,0 +1,6 @@
+github.com/go-ini/ini v1.32.0 h1:/MArBHSS0TFR28yPPDK1vPIjt4wUnPBfb81i6iiyKvA=
+github.com/go-ini/ini v1.32.0/go.mod h1:ByCAeIL28uOIIG0E3PJtZPDL8WnHpFKFOtgjp+3Ies8=
+github.com/gocarina/gocsv v0.0.0-20180113182942-45cbb9cde54e h1:lalH/oBshtpmCG6AVhg0KkTRbqyHNGPO2XmtTA82AG4=
+github.com/gocarina/gocsv v0.0.0-20180113182942-45cbb9cde54e/go.mod h1:/oj50ZdPq/cUjA02lMZhijk5kR31SEydKyqah1OgBuo=
+github.com/victorhaggqvist/pflag v0.0.2-0.20160203232644-de7e39409b47 h1:SiSUP1nVzbAyiveT2jIitSS2dcVwGUVclSTgIxX79Cc=
+github.com/victorhaggqvist/pflag v0.0.2-0.20160203232644-de7e39409b47/go.mod h1:MbC1MDJQV0btWa/MNc+eRjUYCZ4bC0KR1fplO35NvAc=
diff --git a/vendor/modules.txt b/vendor/modules.txt
new file mode 100644
index 0000000..39254d3
--- /dev/null
+++ b/vendor/modules.txt
@@ -0,0 +1,9 @@
+# github.com/go-ini/ini v1.32.0
+## explicit
+github.com/go-ini/ini
+# github.com/gocarina/gocsv v0.0.0-20180113182942-45cbb9cde54e
+## explicit
+github.com/gocarina/gocsv
+# github.com/victorhaggqvist/pflag v0.0.2-0.20160203232644-de7e39409b47
+## explicit
+github.com/victorhaggqvist/pflag