GO packages for building web apps in go-phorce
- GoLang 1.16+
- SoftHSM 2.6+
make allcomplete build and testmake testrun the testsmake testshortruns the tests skipping the end-to-end tests and the code coverage reportingmake covtestruns the tests with end-to-end and the code coverage reportingmake coverageview the code coverage results from the last make test run.make generateruns go generate to update any code generated filesmake fmtruns go fmt on the project.make lintruns the go linter on the project.
run make all 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