gogf / gf

GoFrame is a modular, powerful, high-performance and enterprise-class application development framework of Golang.
https://goframe.org
MIT License
11.68k stars 1.59k forks source link

gf gen service: When generating the service, the previous sysin0 alias will be overwritten as sysin, and the logic will not be modified. #3672

Open liqianwithship opened 4 months ago

liqianwithship commented 4 months ago

Go version

go version go 1.20.1 darwin/arm64

GoFrame version

2.7.2

Can this bug be reproduced with the latest release?

Option Yes

What did you do?

直接运行 gf gen service 就可以重现

What did you see happen?

直接运行 gf gen service 就可以重现

What did you expect to see?

直接运行 gf gen service 就可以重现

oldme-git commented 4 months ago

@liqianwithship 请提供最小复现代码

Issues-translate-bot commented 4 months ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


@liqianwithship Please provide the minimum recovery code