From eb13231e9e9a98f8b045562de5b97c4bb43ba421 Mon Sep 17 00:00:00 2001 From: Rogee Date: Mon, 10 Feb 2025 14:43:33 +0800 Subject: [PATCH] fix: issues --- templates/project/{buf.gen.yaml.raw => buf.gen.yaml.tpl} | 0 templates/project/{go.mod.raw => go.mod.tpl} | 0 templates/project/providers/http/swagger/swagger.go.tpl | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) rename templates/project/{buf.gen.yaml.raw => buf.gen.yaml.tpl} (100%) rename templates/project/{go.mod.raw => go.mod.tpl} (100%) diff --git a/templates/project/buf.gen.yaml.raw b/templates/project/buf.gen.yaml.tpl similarity index 100% rename from templates/project/buf.gen.yaml.raw rename to templates/project/buf.gen.yaml.tpl diff --git a/templates/project/go.mod.raw b/templates/project/go.mod.tpl similarity index 100% rename from templates/project/go.mod.raw rename to templates/project/go.mod.tpl diff --git a/templates/project/providers/http/swagger/swagger.go.tpl b/templates/project/providers/http/swagger/swagger.go.tpl index f188348..0722e61 100644 --- a/templates/project/providers/http/swagger/swagger.go.tpl +++ b/templates/project/providers/http/swagger/swagger.go.tpl @@ -10,8 +10,8 @@ import ( "github.com/gofiber/fiber/v3" "github.com/gofiber/fiber/v3/middleware/static" "github.com/gofiber/utils/v2" + "github.com/rogeecn/swag" swaggerFiles "github.com/swaggo/files/v2" - "{{.ModuleName}}/pkg/atomctl/pkg/swag" ) const (