price-calculator
price-calculator
How to start
# To generate graphql schemas
# Note: see server/graph/schemas and also ./gqlgen.yml
$ make schema
# Use this command to start the service locally
$ make local
# To run tests
$ make test
```shell script
# build a binary for the api
$ make build
# generate mocks
$ make gen-mocks
# runs go vet
$ make vet
# runs go fmt to format files
$ make fmt
Errors
Code |
ErrorType |
Detail |
101 |
InvalidRequestErr |
invalid request parameters |
102 |
InternalErr |
Internal Error, you can try again at another time |