forked from electricdusk/rushlink
Don't install/update go-bindata from //go:generate
Instead, add build instructions to the README.
This commit is contained in:
parent
2d2df99f75
commit
3e5eca40e3
@ -2,6 +2,12 @@
|
|||||||
|
|
||||||
A URL shortener and (maybe) a pastebin server for our #ru community.
|
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
|
## Libraries
|
||||||
|
|
||||||
Use standard-Go-libraries if the job can be done with those. As of now, these
|
Use standard-Go-libraries if the job can be done with those. As of now, these
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
package handlers
|
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/...
|
//go:generate go-bindata -pkg $GOPACKAGE -prefix ../assets ../assets/...
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
Loading…
Reference in New Issue
Block a user