From 03ea0b0770c5b07b99dacd14d7ad1b853413470e Mon Sep 17 00:00:00 2001 From: Nayef Ghattas Date: Fri, 26 Feb 2021 11:41:24 +0100 Subject: [PATCH] move to go mod --- Gopkg.lock | 33 --------------------------------- Gopkg.toml | 38 -------------------------------------- go.mod | 8 ++++++++ go.sum | 11 +++++++++++ 4 files changed, 19 insertions(+), 71 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 5993178..0000000 --- a/Gopkg.lock +++ /dev/null @@ -1,33 +0,0 @@ -# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. - - -[[projects]] - digest = "1:b16fbfbcc20645cb419f78325bb2e85ec729b338e996a228124d68931a6f2a37" - name = "github.com/BurntSushi/toml" - packages = ["."] - pruneopts = "UT" - revision = "b26d9c308763d68093482582cea63d69be07a0f0" - version = "v0.3.0" - -[[projects]] - digest = "1:aa2befda6c130a48c32ef6370edd9fe5be530d0a0f6624e99a936dbaaffa7f65" - name = "github.com/google/gopacket" - packages = [ - ".", - "layers", - "pcap", - ] - pruneopts = "UT" - revision = "c340012d34adb8462b1e23ad4d7a73944f4224b8" - -[solve-meta] - analyzer-name = "dep" - analyzer-version = 1 - input-imports = [ - "github.com/BurntSushi/toml", - "github.com/google/gopacket", - "github.com/google/gopacket/layers", - "github.com/google/gopacket/pcap", - ] - solver-name = "gps-cdcl" - solver-version = 1 diff --git a/Gopkg.toml b/Gopkg.toml deleted file mode 100644 index 7fba834..0000000 --- a/Gopkg.toml +++ /dev/null @@ -1,38 +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 - - -[prune] - go-tests = true - unused-packages = true - -[[constraint]] - name = "github.com/BurntSushi/toml" - version = "0.3.0" - -[[constraint]] - name = "github.com/google/gopacket" - revision = "c340012d34adb8462b1e23ad4d7a73944f4224b8" diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..03e8203 --- /dev/null +++ b/go.mod @@ -0,0 +1,8 @@ +module github.com/Gandem/bonjour-reflector + +go 1.15 + +require ( + github.com/BurntSushi/toml v0.3.0 + github.com/google/gopacket v1.1.18-0.20190731192947-c340012d34ad +) diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..1ec2d8f --- /dev/null +++ b/go.sum @@ -0,0 +1,11 @@ +github.com/BurntSushi/toml v0.3.0 h1:e1/Ivsx3Z0FVTV0NSOv/aVgbUWyQuzj7DDnFblkRvsY= +github.com/BurntSushi/toml v0.3.0/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/google/gopacket v1.1.18-0.20190731192947-c340012d34ad h1:zqEPVLoTsTkMX0k5QeqwnoMSP+6AdTh7MAxCMxZE7rg= +github.com/google/gopacket v1.1.18-0.20190731192947-c340012d34ad/go.mod h1:UdDNZ1OO62aGYVnPhxT1U6aI7ukYtA/kB8vaU0diBUM= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3 h1:0GoQqolDA55aaLxZyTzK/Y2ePZzZTUrRacwib7cNsYQ= +golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190405154228-4b34438f7a67 h1:1Fzlr8kkDLQwqMP8GxrhptBLqZG/EDpiATneiZHY998= +golang.org/x/sys v0.0.0-20190405154228-4b34438f7a67/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=