From 3571fd5e887e987e71fae49cf8126a25037cd1dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Vizcaino?= Date: Thu, 26 Sep 2019 21:50:41 +0200 Subject: [PATCH] Move to Go modules --- Gopkg.lock | 64 ------------------------------------------------------ Gopkg.toml | 42 ----------------------------------- go.mod | 10 +++++++++ go.sum | 12 ++++++++++ 4 files changed, 22 insertions(+), 106 deletions(-) delete mode 100644 Gopkg.lock delete mode 100644 Gopkg.toml create mode 100644 go.mod create mode 100644 go.sum diff --git a/Gopkg.lock b/Gopkg.lock deleted file mode 100644 index 30ee82c..0000000 --- a/Gopkg.lock +++ /dev/null @@ -1,64 +0,0 @@ -# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. - - -[[projects]] - digest = "1:bd285ec20a7450d2272631284de698f2d76e923a458fee90e99cc1db4b97708d" - name = "github.com/DataDog/datadog-go" - packages = ["statsd"] - pruneopts = "UT" - revision = "e67964b4021ad3a334e748e8811eb3cd6becbc6e" - version = "2.1.0" - -[[projects]] - branch = "master" - digest = "1:f89bfdae18f08242bd635298abd6546fdfdec66e7e8eee96dac32e531033e235" - name = "github.com/j-vizcaino/goteleinfo" - packages = ["."] - pruneopts = "UT" - revision = "b26658d7115b18eccc16d1f07878d1f3a93e8fb5" - -[[projects]] - digest = "1:d867dfa6751c8d7a435821ad3b736310c2ed68945d05b50fb9d23aee0540c8cc" - name = "github.com/sirupsen/logrus" - packages = ["."] - pruneopts = "UT" - revision = "3e01752db0189b9157070a0e1668a620f9a85da2" - version = "v1.0.6" - -[[projects]] - branch = "master" - digest = "1:b9b666a56e920eaa59ffea0d25a9b848d7073be13689c4a29d04e4a0f548a031" - name = "github.com/tarm/serial" - packages = ["."] - pruneopts = "UT" - revision = "eaafced92e9619f03c72527efeab21e326f3bc36" - -[[projects]] - branch = "master" - digest = "1:3f3a05ae0b95893d90b9b3b5afdb79a9b3d96e4e36e099d841ae602e4aca0da8" - name = "golang.org/x/crypto" - packages = ["ssh/terminal"] - pruneopts = "UT" - revision = "a2144134853fc9a27a7b1e3eb4f19f1a76df13c9" - -[[projects]] - branch = "master" - digest = "1:72d6244a51be9611f08994aca19677fcc31676b3e7b742c37e129e6ece4ad8fc" - name = "golang.org/x/sys" - packages = [ - "unix", - "windows", - ] - pruneopts = "UT" - revision = "ac767d655b305d4e9612f5f6e33120b9176c4ad4" - -[solve-meta] - analyzer-name = "dep" - analyzer-version = 1 - input-imports = [ - "github.com/DataDog/datadog-go/statsd", - "github.com/j-vizcaino/goteleinfo", - "github.com/sirupsen/logrus", - ] - solver-name = "gps-cdcl" - solver-version = 1 diff --git a/Gopkg.toml b/Gopkg.toml deleted file mode 100644 index 0629f82..0000000 --- a/Gopkg.toml +++ /dev/null @@ -1,42 +0,0 @@ -# Gopkg.toml example -# -# Refer to https://golang.github.io/dep/docs/Gopkg.toml.html -# 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]] - branch = "master" - name = "github.com/j-vizcaino/goteleinfo" - -[[constraint]] - name = "github.com/DataDog/datadog-go" - version = "^2.1.0" - -[[constraint]] - name = "github.com/sirupsen/logrus" - version = "^1.0.6" - -[prune] - go-tests = true - unused-packages = true diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..13257ee --- /dev/null +++ b/go.mod @@ -0,0 +1,10 @@ +module github.com/j-vizcaino/dd-teleinfo + +require ( + github.com/DataDog/datadog-go v0.0.0-20180330214955-e67964b4021a + github.com/j-vizcaino/goteleinfo v0.0.0-20180721144338-b26658d7115b + github.com/sirupsen/logrus v1.0.6 + github.com/tarm/serial v0.0.0-20180114052751-eaafced92e96 + golang.org/x/crypto v0.0.0-20180718160520-a2144134853f + golang.org/x/sys v0.0.0-20180715085529-ac767d655b30 +) diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..138104c --- /dev/null +++ b/go.sum @@ -0,0 +1,12 @@ +github.com/DataDog/datadog-go v0.0.0-20180330214955-e67964b4021a h1:zpQSzEApXM0qkXcpdjeJ4OpnBWhD/X8zT/iT1wYLiVU= +github.com/DataDog/datadog-go v0.0.0-20180330214955-e67964b4021a/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= +github.com/j-vizcaino/goteleinfo v0.0.0-20180721144338-b26658d7115b h1:R2T3jRrVbguu6nt2k+p+qBLs2yjS5jCVbtdrql40AuY= +github.com/j-vizcaino/goteleinfo v0.0.0-20180721144338-b26658d7115b/go.mod h1:37oqQilPXTWwR1sKgQDg4eDAX1hCI2r/NXLpUL3UKmA= +github.com/sirupsen/logrus v1.0.6 h1:hcP1GmhGigz/O7h1WVUM5KklBp1JoNS9FggWKdj/j3s= +github.com/sirupsen/logrus v1.0.6/go.mod h1:pMByvHTf9Beacp5x1UXfOR9xyW/9antXMhjMPG0dEzc= +github.com/tarm/serial v0.0.0-20180114052751-eaafced92e96 h1:pLss0TM/G46eE2p8NIRYIlB12vrPvWXiqDoCKA52wwQ= +github.com/tarm/serial v0.0.0-20180114052751-eaafced92e96/go.mod h1:kDXzergiv9cbyO7IOYJZWg1U88JhDg3PB6klq9Hg2pA= +golang.org/x/crypto v0.0.0-20180718160520-a2144134853f h1:lRy+hhwk7YT7MsKejxuz0C5Q1gk6p/QoPQYEmKmGFb8= +golang.org/x/crypto v0.0.0-20180718160520-a2144134853f/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/sys v0.0.0-20180715085529-ac767d655b30 h1:4bYUqrXBoiI7UFQeibUwFhvcHfaEeL75O3lOcZa964o= +golang.org/x/sys v0.0.0-20180715085529-ac767d655b30/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=