From 2b6ab134d9583d76a72e066d74f9f85661aee3d2 Mon Sep 17 00:00:00 2001 From: James Tombleson Date: Sun, 28 Apr 2024 11:42:30 -0700 Subject: [PATCH] make swag now works with the new cmd pathing --- makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index baec9f5..c0ccd02 100644 --- a/makefile +++ b/makefile @@ -18,8 +18,8 @@ migrate-dev-down: ## revert sql migrations to dev db goose -dir "./internal/database/migrations" postgres "user=postgres password=postgres dbname=postgres sslmode=disable" down swag: ## Generates the swagger documentation with the swag tool - ~/go/bin/swag f - ~/go/bin/swag i + ~/go/bin/swag f + ~/go/bin/swag init -g cmd/server.go gensql: ## Generates SQL code with sqlc sqlc generate \ No newline at end of file