Working with a boilerplate

This commit is contained in:
2024-12-01 23:06:51 +03:30
parent 910bd99b47
commit 814f3bca15
8 changed files with 84 additions and 13 deletions
+3 -4
View File
@@ -75,10 +75,9 @@ GOOS=linux
GOARCH=amd64
DOCKER_IMG=
DOCKER_REG=
all: tidy build run
all: clean build run
# Ignore
tidy:
clean:
@echo -ne "Formating Code \r"
@go fmt ./...
@rm $(OUT)
@@ -117,7 +116,7 @@ build-migrate:
@echo -ne "Running Migrate \r"
@migrate \
-path ./src/db/migration\
-database postgres://gitea:gitea@localhost:5432/test1?sslmode=disable\
-database postgres://gitea:gitea@localhost:5432/test3?sslmode=disable\
up
build-sqlc: