Finalizing the project structure

This commit is contained in:
Valentin Popov 2025-05-05 23:17:45 +00:00
parent cf3c2ddb19
commit 97206989c0
No known key found for this signature in database
GPG Key ID: AE3CE523DAAA8401
5 changed files with 23 additions and 0 deletions

19
Makefile Normal file
View File

@ -0,0 +1,19 @@
.PHONY: vet test run-server run-worker docker-up docker-down
vet:
go vet ./...
test:
go test -race ./...
run-server:
go run ./cmd/server
run-worker:
go run ./cmd/worker
docker-up:
docker-compose up --build --detach
docker-down:
docker-compose down

2
go.mod
View File

@ -1,3 +1,5 @@
module gitlab.com/digineat/go-broker-test module gitlab.com/digineat/go-broker-test
go 1.24.2 go 1.24.2
require github.com/mattn/go-sqlite3 v1.14.28

2
go.sum Normal file
View File

@ -0,0 +1,2 @@
github.com/mattn/go-sqlite3 v1.14.28 h1:ThEiQrnbtumT+QMknw63Befp/ce/nUPgBPMlRFEum7A=
github.com/mattn/go-sqlite3 v1.14.28/go.mod h1:Uh1q+B4BYcTPb+yiD3kU8Ct7aC0hY9fxUwlHK0RXw+Y=

0
internal/db/.gitkeep Normal file
View File

0
internal/model/.gitkeep Normal file
View File