Install golang
Then:
go get -d ./...
go generate
Start the server:
go run ./...
Install the binary to $GOPATH/bin/validator
:
go install ./...
...then run it:
validator
To run tests:
go test ./...
If you work on this project, you'll probably make changes to the
"go-spaceapi-validator" library. To use the local version instead of the one
published on GitHub, add the following to your go.mod
(with the appropriate
path):
replace "github.com/spaceapi-community/go-spaceapi-validator" => "../go-spaceapi-validator"