GO packages for building web apps in go-phorce
Before openning VSCODE or running make, run once: ./vscode.sh
make all
complete build and testmake get
fetches the pinned dependencies from reposmake devtools
get the dev tools for local development in VSCODEmake test
run the testsmake testshort
runs the tests skipping the end-to-end tests and the code coverage reportingmake covtest
runs the tests with end-to-end and the code coverage reportingmake coverage
view the code coverage results from the last make test run.make generate
runs go generate to update any code generated filesmake fmt
runs go fmt on the project.make lint
runs the go linter on the project.
run make get
once, then run make build
or make test
as needed.
First run:
make all
Tests:
make test
Optionally run golang race detector with test targets by setting RACE flag:
make test RACE=true
Review coverage report:
make covtest coverage