From 59276223660a42658d655ee4dd13216521635cce Mon Sep 17 00:00:00 2001 From: Kieran Spear Date: Fri, 3 Dec 2021 12:35:33 +1100 Subject: [PATCH] Update to go 1.17 --- Godeps | 1 - README.md | 7 ++----- go.mod | 5 +++++ go.sum | 2 ++ 4 files changed, 9 insertions(+), 6 deletions(-) delete mode 100644 Godeps create mode 100644 go.mod create mode 100644 go.sum diff --git a/Godeps b/Godeps deleted file mode 100644 index 0f0cb51..0000000 --- a/Godeps +++ /dev/null @@ -1 +0,0 @@ -github.com/kr/beanstalk 4011ceaa3ceeeeb8f38e541d2e8efceba6d0b86e diff --git a/README.md b/README.md index 0d7b9c2..d5e8e5f 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ From source: ```sh # Make sure you have a sane $GOPATH -go get github.com/99designs/cmdstalk +go install github.com/99designs/cmdstalk@latest ``` From binary: @@ -56,9 +56,6 @@ cmdstalk -all -cmd="cat" -per-tube=4 Dev --- -[gpm](https://github.com/pote/gpm) is used to track dependencies. Make sure -you have a sane `$GOPATH` etc, then `brew install gpm` and `gpm install`. - ```sh # Run all tests, with minimal/buffered output. go test ./... @@ -80,7 +77,7 @@ Release ```sh # Set up cross-compiling tool. -go get github.com/mitchellh/gox +go install github.com/mitchellh/gox@latest gox -build-toolchain -os="darwin linux" -arch="amd64" # Compile for various systems. diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..79caee9 --- /dev/null +++ b/go.mod @@ -0,0 +1,5 @@ +module github.com/99designs/cmdstalk + +go 1.17 + +require github.com/kr/beanstalk v0.0.0-20130218090021-4011ceaa3cee diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..d29fad7 --- /dev/null +++ b/go.sum @@ -0,0 +1,2 @@ +github.com/kr/beanstalk v0.0.0-20130218090021-4011ceaa3cee h1:WJEhmLuV1JSqpi2Wu2EUO4JhBWPyvtHU620wlF5E0LU= +github.com/kr/beanstalk v0.0.0-20130218090021-4011ceaa3cee/go.mod h1:S640fId9Ag4k2hh6Hwwj62pMSZqfMtg/kfKPeAOhET8=