Implement an in-memory databasewqa

This commit is contained in:
2021-06-19 17:47:36 -04:00
parent 9af3f78659
commit b66f5ebe67
14 changed files with 931 additions and 1 deletions
+7 -1
View File
@@ -10,6 +10,12 @@ integration-test:
all-test:
go test ./...
test-coverage:
go test -cover ./...
cover-report:
go test -coverprofile=coverage.out ./... && go tool cover -html=coverage.out
build:
go build -o supermarket-api cmd/api/*.go
@@ -17,4 +23,4 @@ run:
go run cmd/api/*.go
clean:
rm ./supermarket-api
rm ./supermarket-api ./coverage.out