Skip to content

Commit

Permalink
feat(jzero): release v0.15.4
Browse files Browse the repository at this point in the history
  • Loading branch information
jaronnie committed May 13, 2024
1 parent 1183673 commit 415b235
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/gen/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,8 @@ func generateApiCode(wd string, apiDirName string) error {
isMainApiFile = true
} else if _, ok := v.(*ast.ImportLiteralStmt); ok {
isMainApiFile = true
} else {
}

if isMainApiFile && !isUsed {
fmt.Printf("%s api file %s\n", color.WithColor("Using", color.FgGreen), filepath.Join(apiDirName, file.Name()))
command := fmt.Sprintf("goctl api go --api %s --dir ./app --home %s", filepath.Join(apiDirName, file.Name()), filepath.Join(embeded.Home, "go-zero"))
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var (

// ldflags
var (
version = "0.15.3"
version = "0.15.4"
commit string
date string
)
Expand Down

0 comments on commit 415b235

Please sign in to comment.