For an example usage please see the example service in the example folder.
Running the example project:
go run example/main.go
To initiate a request:
curl localhost:9876/test
The sample application will call another endpoint.
The project uses Makefile for building. Testing:
make test
The test goal will run go fmt, vet on the code.
To see test coverage:
make coverage
Version | Tag | Published |
---|---|---|
v0.0.0-20151201125421-d4318f3e709b | 2yrs ago |