diff --git a/Gopkg.lock b/Gopkg.lock deleted file mode 100644 index 925b8aad7..000000000 --- a/Gopkg.lock +++ /dev/null @@ -1,70 +0,0 @@ -# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. - - -[[projects]] - name = "github.com/BurntSushi/toml" - packages = ["."] - revision = "2dff11163ee667d51dcc066660925a92ce138deb" - -[[projects]] - name = "github.com/bitly/go-hostpool" - packages = ["."] - revision = "a3a6125de9329587178a9792dc8f4bc98e620d2d" - -[[projects]] - name = "github.com/bitly/timer_metrics" - packages = ["."] - revision = "afad1794bb13e2a094720aeb27c088aa64564895" - -[[projects]] - name = "github.com/blang/semver" - packages = ["."] - revision = "9bf7bff48b0388cb75991e58c6df7d13e982f1f2" - -[[projects]] - name = "github.com/bmizerany/perks" - packages = ["quantile"] - revision = "6cb9d9d729303ee2628580d9aec5db968da3a607" - -[[projects]] - name = "github.com/golang/snappy" - packages = ["."] - revision = "d9eb7a3d35ec988b8585d4a0068e462c27d28380" - -[[projects]] - name = "github.com/judwhite/go-svc" - packages = ["svc"] - revision = "63c12402f579f0bdf022653c821a1aa5d7544f01" - -[[projects]] - name = "github.com/julienschmidt/httprouter" - packages = ["."] - revision = "6aacfd5ab513e34f7e64ea9627ab9670371b34e7" - -[[projects]] - name = "github.com/mreiferson/go-options" - packages = ["."] - revision = "77551d20752b54535462404ad9d877ebdb26e53d" - -[[projects]] - name = "github.com/nsqio/go-diskqueue" - packages = ["."] - revision = "0681a1afee1245efa503b7543989fc26d8f268bc" - -[[projects]] - name = "github.com/nsqio/go-nsq" - packages = ["."] - revision = "a53d495e81424aaf7a7665a9d32a97715c40e953" - -[[projects]] - branch = "master" - name = "golang.org/x/sys" - packages = ["unix","windows","windows/svc"] - revision = "661970f62f5897bc0cd5fdca7e087ba8a98a8fa1" - -[solve-meta] - analyzer-name = "dep" - analyzer-version = 1 - inputs-digest = "532ea1365ba72d95b44f494d7a4c77046f7786c7c1a706faadf3c5202da0b47e" - solver-name = "gps-cdcl" - solver-version = 1 diff --git a/Gopkg.toml b/Gopkg.toml deleted file mode 100644 index 20b77efa6..000000000 --- a/Gopkg.toml +++ /dev/null @@ -1,70 +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" - - -[[constraint]] - name = "github.com/BurntSushi/toml" - revision = "2dff11163ee667d51dcc066660925a92ce138deb" - -[[constraint]] - name = "github.com/bitly/go-hostpool" - revision = "a3a6125de9329587178a9792dc8f4bc98e620d2d" - -[[constraint]] - name = "github.com/bitly/timer_metrics" - revision = "afad1794bb13e2a094720aeb27c088aa64564895" - -[[constraint]] - name = "github.com/blang/semver" - revision = "9bf7bff48b0388cb75991e58c6df7d13e982f1f2" - -[[constraint]] - name = "github.com/bmizerany/perks" - revision = "6cb9d9d729303ee2628580d9aec5db968da3a607" - -[[constraint]] - name = "github.com/golang/snappy" - revision = "d9eb7a3d35ec988b8585d4a0068e462c27d28380" - -[[constraint]] - name = "github.com/judwhite/go-svc" - revision = "63c12402f579f0bdf022653c821a1aa5d7544f01" - -[[constraint]] - name = "github.com/julienschmidt/httprouter" - revision = "6aacfd5ab513e34f7e64ea9627ab9670371b34e7" - -[[constraint]] - name = "github.com/mreiferson/go-options" - revision = "77551d20752b54535462404ad9d877ebdb26e53d" - -[[constraint]] - name = "github.com/nsqio/go-diskqueue" - revision = "0681a1afee1245efa503b7543989fc26d8f268bc" - -[[constraint]] - name = "github.com/nsqio/go-nsq" - revision = "a53d495e81424aaf7a7665a9d32a97715c40e953" - -[[constraint]] - name = "golang.org/x/sys" - branch = "master" diff --git a/go.mod b/go.mod new file mode 100644 index 000000000..aa25fc43f --- /dev/null +++ b/go.mod @@ -0,0 +1,22 @@ +module github.com/nsqio/nsq + +go 1.21.3 + +require ( + github.com/BurntSushi/toml v0.0.0-20130929175405-2dff11163ee6 + github.com/bitly/go-hostpool v0.0.0-20171023180738-a3a6125de932 + github.com/bitly/timer_metrics v0.0.0-20150203034119-afad1794bb13 + github.com/blang/semver v2.1.0+incompatible + github.com/bmizerany/perks v0.0.0-20140429223840-6cb9d9d72930 + github.com/golang/snappy v0.0.0-20160529050041-d9eb7a3d35ec + github.com/judwhite/go-svc v1.0.0 + github.com/julienschmidt/httprouter v1.1.1-0.20150708215400-6aacfd5ab513 + github.com/mreiferson/go-options v0.0.0-20161229190002-77551d20752b + github.com/nsqio/go-diskqueue v0.0.0-20170827071139-0681a1afee12 + github.com/nsqio/go-nsq v1.0.7-0.20161229185821-a53d495e8142 +) + +require ( + github.com/stretchr/testify v1.8.4 // indirect + golang.org/x/sys v0.0.0-20171028101351-661970f62f58 // indirect +) diff --git a/go.sum b/go.sum new file mode 100644 index 000000000..585f39f12 --- /dev/null +++ b/go.sum @@ -0,0 +1,32 @@ +github.com/BurntSushi/toml v0.0.0-20130929175405-2dff11163ee6 h1:mk3iNkH6IE+aS8Xi5dfasHQNtPGmBFy+Rn137Ko4Wn4= +github.com/BurntSushi/toml v0.0.0-20130929175405-2dff11163ee6/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/bitly/go-hostpool v0.0.0-20171023180738-a3a6125de932 h1:mXoPYz/Ul5HYEDvkta6I8/rnYM5gSdSV2tJ6XbZuEtY= +github.com/bitly/go-hostpool v0.0.0-20171023180738-a3a6125de932/go.mod h1:NOuUCSz6Q9T7+igc/hlvDOUdtWKryOrtFyIVABv/p7k= +github.com/bitly/timer_metrics v0.0.0-20150203034119-afad1794bb13 h1:5LHaTcziKR0jawDrvCMA5mtytTPe9+B6aaPzAceEs14= +github.com/bitly/timer_metrics v0.0.0-20150203034119-afad1794bb13/go.mod h1:EJqiy/5FjJk5tEOxXhnxvFijOmeB5ka1D2fvqHOXUXA= +github.com/blang/semver v2.1.0+incompatible h1:TtbN5kU/oDXfHg4iuCEQ+vUTdr8ED02yUWG0f5VPVs8= +github.com/blang/semver v2.1.0+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= +github.com/bmizerany/perks v0.0.0-20140429223840-6cb9d9d72930 h1:96htJKLOP8bziHYfiB1P1Jox0QVYfKP0cBBM7773OZk= +github.com/bmizerany/perks v0.0.0-20140429223840-6cb9d9d72930/go.mod h1:ac9efd0D1fsDb3EJvhqgXRbFx7bs2wqZ10HQPeU8U/Q= +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/golang/snappy v0.0.0-20160529050041-d9eb7a3d35ec h1:ZaSUjYC8aWT/om43c8YVz0SqjT8ABtqw7REbZGsCroE= +github.com/golang/snappy v0.0.0-20160529050041-d9eb7a3d35ec/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/judwhite/go-svc v1.0.0 h1:W447kYhZsqC14hkfNG8XLy9wbYibeMW75g5DtAIpFGw= +github.com/judwhite/go-svc v1.0.0/go.mod h1:EeMSAFO3mLgEQfcvnZ50JDG0O1uQlagpAbMS6talrXE= +github.com/julienschmidt/httprouter v1.1.1-0.20150708215400-6aacfd5ab513 h1:wwfbioHElhBZFvC8HQBHdeZGnxXkX9VqfBsRChp4YwA= +github.com/julienschmidt/httprouter v1.1.1-0.20150708215400-6aacfd5ab513/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= +github.com/mreiferson/go-options v0.0.0-20161229190002-77551d20752b h1:xjKomx939vefURtocD1uaKvcvAp1dNYX05i0TIpnfVI= +github.com/mreiferson/go-options v0.0.0-20161229190002-77551d20752b/go.mod h1:A0JOgZNsj9V+npbgxH0Ib75PvrHS6Ezri/4HdcTp/DI= +github.com/nsqio/go-diskqueue v0.0.0-20170827071139-0681a1afee12 h1:yqHOGdU2I1AizhgPABQrDXYiI+284PQVsAwuX3SZosI= +github.com/nsqio/go-diskqueue v0.0.0-20170827071139-0681a1afee12/go.mod h1:AYinRDfdKMmVKTPI8wOcLgjcw2pTS3jo8fib1VxOzsE= +github.com/nsqio/go-nsq v1.0.7-0.20161229185821-a53d495e8142 h1:fEk4L2ckVUyufxlu8/1yyi7bFBNw4rdPr7XsSWbZ7BY= +github.com/nsqio/go-nsq v1.0.7-0.20161229185821-a53d495e8142/go.mod h1:XP5zaUs3pqf+Q71EqUJs3HYfBIqfK6G83WQMdNN+Ito= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= +github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +golang.org/x/sys v0.0.0-20171028101351-661970f62f58 h1:x7WehqhfFOTqftCvv1laxNDa1QQvtwj1EyeXcRuw890= +golang.org/x/sys v0.0.0-20171028101351-661970f62f58/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=