提交 19589968 编写于 作者: S songzhibin97

Update sys_auto_code.go

上级 adea9236
......@@ -40,8 +40,8 @@ func (a *AutoCodeStruct) KeyWord() {
// SuffixTest 处理_test 后缀
// Author [SliverHorn](https://github.com/SliverHorn)
func (a *AutoCodeStruct) SuffixTest() {
if strings.HasSuffix(a.Package, "test") {
a.Package = a.Package + "_"
if strings.HasSuffix(a.HumpPackageName, "test") {
a.HumpPackageName = a.HumpPackageName + "_"
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册