mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-05-08 15:39:59 +08:00
chore: update go-zero version (#5093)
Signed-off-by: kevin <wanjunfeng@gmail.com>
This commit is contained in:
@@ -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{}
|
||||
|
||||
Reference in New Issue
Block a user