Don't install/update go-bindata from //go:generate

Instead, add build instructions to the README.
This commit is contained in:
Bart Schuurmans 2019-11-08 10:40:53 +01:00
parent 2d2df99f75
commit 3e5eca40e3
2 changed files with 6 additions and 2 deletions

View File

@ -2,6 +2,12 @@
A URL shortener and (maybe) a pastebin server for our #ru community.
## Build instructions
- `go get -u github.com/go-bindata/go-bindata/...`
- `go generate ./...`
- `go build ./cmd/rushlink`
## Libraries
Use standard-Go-libraries if the job can be done with those. As of now, these

View File

@ -1,7 +1,5 @@
package handlers
//go:generate go get github.com/go-bindata/go-bindata
//go:generate go get -u github.com/go-bindata/go-bindata/...
//go:generate go-bindata -pkg $GOPACKAGE -prefix ../assets ../assets/...
import (