Skip to content

Commit

Permalink
add: 忽略的文件
Browse files Browse the repository at this point in the history
  • Loading branch information
cyz-home committed Feb 20, 2023
1 parent 1ddd63b commit ca662b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion console/commands/route.go
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ func genRoute(g *ApiGroups, out string) {
for _, s2 := range context {
str = str + "\n" + s2
}
err := os.WriteFile(out+"/"+parser.StringToSnake(g.name)+"_gen.go", []byte(str), 0766)
err := os.WriteFile(out+"/"+parser.StringToSnake(g.name)+"_route.go", []byte(str), 0766)
if err != nil {
log.Fatal("无法写入目录文件", err)
}
Expand Down

0 comments on commit ca662b3

Please sign in to comment.