From 4700edb6874ce4e7012eaffa9bcac81e7e40a498 Mon Sep 17 00:00:00 2001 From: roerohan Date: Sun, 26 Sep 2021 16:13:54 +0530 Subject: [PATCH] docs(installation): go get deprecated, use go install --- .gitignore | 1 + README.md | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e660fd9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +bin/ diff --git a/README.md b/README.md index 5cfabc1..f68d38c 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ The only prerequisite is `golang` which you can get [here](https://golang.org/). 1. Get the package using `go get`. ```bash -go get github.com/roerohan/wait-for-it +go install github.com/roerohan/wait-for-it ``` Alternatively, you can follow these steps: @@ -94,7 +94,7 @@ go build -o ./bin/wait-for-it 3. Use the binary inside the bin folder. ```bash -./bin/wait-for-it google.com:80 -- echo "It works!" +./bin/wait-for-it google.com:80 -- echo "It works\!" ```