aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-08 00:40:22 +0900
committernsfisis <nsfisis@gmail.com>2024-08-08 04:02:37 +0900
commitc173778cefd66e5259ad75c9399a95c03ce5fa91 (patch)
tree3990ed2d9985e6cbe3ec1a47ef8e5abeb1010cec /backend
parentcfe46bf104dec03c81ca38eb6b6a23b372a271b6 (diff)
downloadiosdc-japan-2025-albatross-c173778cefd66e5259ad75c9399a95c03ce5fa91.tar.gz
iosdc-japan-2025-albatross-c173778cefd66e5259ad75c9399a95c03ce5fa91.tar.zst
iosdc-japan-2025-albatross-c173778cefd66e5259ad75c9399a95c03ce5fa91.zip
refactor(backend): organize gen/ directory
Diffstat (limited to 'backend')
-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