chore: update go-zero version (#5093)

Signed-off-by: kevin <wanjunfeng@gmail.com>
This commit is contained in:
Kevin Wan
2025-08-17 17:00:15 +08:00
committed by GitHub
parent a5d42e20d5
commit a81d898408
16 changed files with 99 additions and 107 deletions

View File

@@ -145,14 +145,14 @@ func MySqlDataSource(_ *cobra.Command, _ []string) error {
}
func mergeColumns(columns []string) []string {
set := collection.NewSet()
set := collection.NewSet[string]()
for _, v := range columns {
fields := strings.FieldsFunc(v, func(r rune) bool {
return r == ','
})
set.AddStr(fields...)
set.Add(fields...)
}
return set.KeysStr()
return set.Keys()
}
type pattern map[string]struct{}