From d485bb4e66cce080402fc87ff1e35f7c7488c1dd Mon Sep 17 00:00:00 2001 From: cialloo Date: Sat, 25 Oct 2025 08:05:38 +0800 Subject: [PATCH] fix: update directory path for generated go-zero code --- script/goctl/GenApi.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/goctl/GenApi.ps1 b/script/goctl/GenApi.ps1 index f395cd3..e59e461 100644 --- a/script/goctl/GenApi.ps1 +++ b/script/goctl/GenApi.ps1 @@ -17,7 +17,7 @@ Set-Location -Path (Resolve-Path "../../api") goctl api format -dir . # generate go-zero code -goctl api go -api ServerStatistics.api -dir ../src --style=gozero +goctl api go -api ServerStatistics.api -dir ../app --style=gozero # generate swagger and convert to openapi3 only when -s is provided if ($s) {