add handlers, storage(Postgres, sqlite) (#3)

Reviewed-on: #3
Co-authored-by: Evstigneev Denis <danteevstigneev@yandex.ru>
Co-committed-by: Evstigneev Denis <danteevstigneev@yandex.ru>
This commit was merged in pull request #3.
This commit is contained in:
2023-08-11 20:12:15 +03:00
committed by Vasiliy Tolstov
parent b0f76d9bac
commit 8886dcba9c
35 changed files with 2751 additions and 936 deletions

13
Makefile Normal file
View File

@@ -0,0 +1,13 @@
.PHONY: build
build:
go build -o bin/app -mod=readonly ./main.go
.PHONY: test
test:
go test -v ./... -race -cover
.PHONY: lint
lint:
# Install the binary release of golangci-lint
# https://github.com/golangci/golangci-lint#install
golangci-lint run