From 4565543161fc595a39889d8471541b4015aa7c4f Mon Sep 17 00:00:00 2001 From: Martin Dosch Date: Fri, 10 Mar 2023 11:20:15 +0100 Subject: [PATCH] Update installation instructions. --- README.md | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 736abb2..f03732e 100644 --- a/README.md +++ b/README.md @@ -22,15 +22,21 @@ very welcome. ## installation -If you have *[GOPATH](https://github.com/golang/go/wiki/SettingGOPATH)* -set just run this commands: +You will find the binary in `$GOPATH/bin` or, if set, `$GOBIN`. -```bash -$ go get salsa.debian.org/mdosch/feed-to-muc -$ go install salsa.debian.org/mdosch/feed-to-muc +### Go < 1.16 + +```plain +$ go get -u salsa.debian.org/mdosch/go-sendxmpp ``` -You will find the binary in `$GOPATH/bin` or, if set, `$GOBIN`. +### Go >= 1.16 + +Latest release: + +```plain +$ go install salsa.debian.org/mdosch/go-sendxmpp@latest +``` ## configuration