feat: rework db conn to use sql.DB for better portability
All checks were successful
Build and test / Build (push) Successful in 2m20s

This commit is contained in:
Muyao CHEN
2024-10-15 14:01:53 +02:00
parent 1fb84a3ff4
commit 20ef75b1aa
12 changed files with 102 additions and 54 deletions

View File

@ -34,7 +34,7 @@ web: web-all
.PHONY: build
build: tidy sqlc # build.
@go build -v -ldflags "$(GO_LDFLAGS)" -o $(OUTPUT_DIR)/howmuch $(ROOT_DIR)/cmd/howmuch/main.go 2>/dev/null
@go build -v -ldflags "$(GO_LDFLAGS)" -o $(OUTPUT_DIR)/howmuch $(ROOT_DIR)/cmd/howmuch/main.go
.PHONY: sqlc
sqlc: