- Company creation
- Staff creation
- Staff update
- Get staff by company ID
- Docker
- Jaeger
- MongoDB
URL: example.swagger-api-touch.com
Mockery
GO111MODULE=off go get github.com/vektra/mockery/.../
Swagger
go get -u github.com/swaggo/swag/cmd/swag
go get -u github.com/swaggo/gin-swagger
go get -u github.com/swaggo/files
git clone https://github.com/touchtechnologies-product/go-blueprint-clean-architecture
cd go-blueprint-clean-architecture
go mod download
unit testing command
go test ./... -cover
integrating testing command
go test ./... -tags integration
generate mocks from interfaces for unit testing
go generate ./...
development in local start mongodb jaeger
cd development
source ./local.env
docker-compose up -d
please see in the example code implement jaeger wrap service service/company/withtracer