Periscope uses the standard Go toolchain for development.
You can run the tests with:
go test ./...
You can run the code formatter with:
go fmt ./...
You can run Go's built-in vet
tool with:
go vet ./...
This project additionally uses the staticcheck tool. You can install it with:
go install honnef.co/go/tools/cmd/staticcheck@latest
You can run staticcheck with:
staticcheck -f stylish ./...
You can build and install the psc
binary locally with go install ./cmd/psc
.
Testing and static analysis is run in CI. Additionally, building and publishing binaries is run in CI.