Skip to content

Commit

Permalink
docs(installation): go get deprecated, use go install
Browse files Browse the repository at this point in the history
  • Loading branch information
roerohan committed Sep 26, 2021
1 parent 644ab33 commit 4700edb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bin/
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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\!"
```


Expand Down

0 comments on commit 4700edb

Please sign in to comment.