-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Evandro Pomatti edited this page Aug 20, 2023
·
4 revisions
Welcome!
Running the application:
go run main.go
Testing locally:
curl localhost:8080/cpu?x=30
Building and running the Docker image locally:
docker build -t stressbox .
docker run -p 8080:8080 --rm stressbox
Push a tag to trigger a Docker build and publish:
git tag v*.*.*
git push --tags
go test ./...
To generate coverate:
go test -v -coverprofile cover.out ./...
go tool cover -html cover.out -o cover.html