Fix 'go install' option for install in READMEs

This commit is contained in:
hedy 2023-06-19 10:18:19 +08:00
parent 2c4c0d81f4
commit b399ace963
Signed by: hedy
GPG Key ID: B51B5A8D1B176372
2 changed files with 5 additions and 5 deletions

View File

@ -28,12 +28,12 @@ Known servers running spsrv
you have two options for now:
### Option 1: with go get
### Option 1: with go
first, you need to have go installed and have a folder ~/go with $GOPATH pointing to it.
```
go get git.sr.ht/~hedy/spsrv
go install git.sr.ht/~hedy/spsrv@latest
```
there will be a binary at ~/go/bin/ with the source code at ~/go/src/

View File

@ -22,7 +22,7 @@ Known servers running spsrv:
<!-- vim-markdown-toc GFM -->
* [install](#install)
* [Option 1: with `go get`](#option-1-with-go-get)
* [Option 1: with `go install`](#option-1-with-go-install)
* [Option 2: just build it yourself](#option-2-just-build-it-yourself)
* [otherwise...](#otherwise)
* [configuration](#configuration)
@ -37,13 +37,13 @@ Known servers running spsrv:
you have two options for now:
### Option 1: with `go get`
### Option 1: with `go install`
first, you need to have go installed and have a folder `~/go` with `$GOPATH`
pointing to it.
```
go get git.sr.ht/~hedy/spsrv
go install git.sr.ht/~hedy/spsrv@latest
```
there will be a binary at `~/go/bin/` with the source code at `~/go/src/`