aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--backend/gen/api/handler_wrapper_gen.go (renamed from backend/gen/api_handler_wrapper_gen.go)0
-rw-r--r--backend/gen/gen.go4
2 files changed, 2 insertions, 2 deletions
diff --git a/backend/gen/api_handler_wrapper_gen.go b/backend/gen/api/handler_wrapper_gen.go
index 7fd34b2..7fd34b2 100644
--- a/backend/gen/api_handler_wrapper_gen.go
+++ b/backend/gen/api/handler_wrapper_gen.go
diff --git a/backend/gen/gen.go b/backend/gen/gen.go
index 6fb430f..91b4550 100644
--- a/backend/gen/gen.go
+++ b/backend/gen/gen.go
@@ -1,5 +1,5 @@
-package main
+package gen
//go:generate go run github.com/sqlc-dev/sqlc/cmd/sqlc generate
//go:generate go run github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen -config oapi-codegen.yaml ../../openapi.yaml
-//go:generate go run ./api_handler_wrapper_gen.go -i ../api/generated.go -o ../api/handler_wrapper.go
+//go:generate go run ./api/handler_wrapper_gen.go -i ../api/generated.go -o ../api/handler_wrapper.go