An example using google wire
MIT License
Wired is meant to be an example project that shows off how to combine a handful of Go "basics", along with some more advanced topics, to build a "real" application.
The below commands build binaries and copy them back to the root directory.
(cd cmd/api/ && go build && cp api ../..)
(cd cmd/swctl/ && go build && cp swctl ../..)
This command below turns off test caching with -count=1
and enables running the integration tests as well with -tags=integration
.
go test -count=1 -tags=integration ./...