mvdan / xurls

Extract urls from text
BSD 3-Clause "New" or "Revised" License
1.19k stars 116 forks source link

xurls command not found #36

Closed reijin90 closed 4 years ago

reijin90 commented 4 years ago

Hi!

For me, the install fails:

user@tools:/tmp/tmp.JsYwNTDgZX$ cd $(mktemp -d); go mod init tmp; GO111MODULE=on go get mvdan.cc/xurls/v2/cmd/xurls
go: creating new go.mod: module tmp
user@tools:/tmp/tmp.MFwKzoKsW4$ xurls
xurls: command not found
user@tools:/tmp/tmp.MFwKzoKsW4$ echo "Do gophers live in http://golang.org?" | xurls
xurls: command not found

I'm running go version go1.13.5 linux/amd64 installed, by following the official guide: https://golang.org/doc/install

Not sure what causes this issue.

mvdan commented 4 years ago

You most likely did not set up your $PATH to include $GOPATH/bin or its default, $HOME/go/bin.