mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-23 09:00:20 +08:00
chore: refactor (#3164)
This commit is contained in:
parent
7568674b2b
commit
49f73265b9
@ -353,7 +353,7 @@ func (e conflictKeyError) Error() string {
|
||||
}
|
||||
|
||||
func getFullName(parent, child string) string {
|
||||
if parent == "" {
|
||||
if len(parent) == 0 {
|
||||
return child
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user