- golang
These instructions will guide you to download the library
go get https://github.com/2110336-2565-2/sec3-group15-cu-freelance-library@latest
- Clone the project from CU Freelance Library
- Download dependencies by
go mod download
- Run
go test -v -coverpkg ./internal/... -coverprofile coverage.out -covermode count ./...
ormake test
The logger service method usage
Info Print the info level log
loggerService.Info("message", "key1", "val1", "key2", "val2",...)
Debug Print the debug level log
loggerService.Info("message", "key1", "val1", "key2", "val2",...)
Error Print the error level log and send sentry issue
loggerService.Info("message", error, "key1", "val1", "key2", "val2",...)