A framework to support building client-side applications like the Snyk CLI as well as extensions for these applications.
This module is consumed as a dependency by downstream projects (e.g. the Snyk CLI) via a replace directive in their go.mod. To work on it locally, point the consumer at your checkout:
replace github.com/snyk/go-application-framework => ../../go-application-framework
Then iterate with:
make test # run the full test suiteRun make help to see all available targets.
- See Extension Architect Guide for more information on how to design extensions.
- See CONTRIBUTING.md for extension authoring, UFM test fixture generation, and other contributor workflows.
For any security issues or concerns, see the SECURITY.md file in this repository.
make format # gofmt
make lint # golangci-lint
make generate # regenerate mocks and API clients
make test # unit tests with race detector
make testv # verbose test output