mirror of
https://github.com/databasus/databasus.git
synced 2026-04-06 00:32:03 +02:00
21 lines
260 B
Makefile
21 lines
260 B
Makefile
run:
|
|
go run cmd/main.go
|
|
|
|
test:
|
|
go test -count=1 ./internal/...
|
|
|
|
lint:
|
|
golangci-lint fmt && golangci-lint run
|
|
|
|
migration-create:
|
|
goose create $(name) sql
|
|
|
|
migration-up:
|
|
goose up
|
|
|
|
migration-down:
|
|
goose down
|
|
|
|
swagger:
|
|
swag init -g ./cmd/main.go -o swagger
|