first commit

This commit is contained in:
Sas Andy
2024-12-09 09:51:19 +07:00
commit ecc5dfd9c0
69 changed files with 5365 additions and 0 deletions

17
Makefile Normal file
View File

@@ -0,0 +1,17 @@
build:
@go build -o bin/westone cmd/main.go
test:
@go test -v ./...
run: build
@./bin/westone
migration:
@migrate create -ext sql -dir cmd/migrate/migrations $(filter-out $@,$(MAKECMDGOALS))
migrate-up:
@go run cmd/migrate/main.go up
migrate-down:
@go run cmd/migrate/main.go down