README: use $GOBIN instead of $GOPATH/bin (#168)

$GOPATH/bin works in the simple cases, but will break if the user
specifies their own $GOBIN, or if their $GOPATH has multiple elements.

This form is also simpler. Even if the user doesn't specify their custom
$GOBIN, 'go env GOBIN' will return the correct default.
This commit is contained in:
Daniel Martí
2019-06-12 18:24:10 +01:00
committed by Filippo Valsorda
parent 72ec55f07f
commit ff17118210

View File

@@ -73,7 +73,7 @@ or build from source (requires Go 1.10+)
```
go get -u github.com/FiloSottile/mkcert
$(go env GOPATH)/bin/mkcert
$(go env GOBIN)/mkcert
```
or use [the pre-built binaries](https://github.com/FiloSottile/mkcert/releases).