Finalizing the project structure
This commit is contained in:
parent
cf3c2ddb19
commit
97206989c0
19
Makefile
Normal file
19
Makefile
Normal 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
2
go.mod
@ -1,3 +1,5 @@
|
||||
module gitlab.com/digineat/go-broker-test
|
||||
|
||||
go 1.24.2
|
||||
|
||||
require github.com/mattn/go-sqlite3 v1.14.28
|
||||
|
||||
2
go.sum
Normal file
2
go.sum
Normal 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
0
internal/db/.gitkeep
Normal file
0
internal/model/.gitkeep
Normal file
0
internal/model/.gitkeep
Normal file
Loading…
x
Reference in New Issue
Block a user