mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
feature: recode structuralized GetExtraDetails and ListItemFilter
This commit is contained in:
@@ -29,6 +29,9 @@ func NewSortedStrings(strs []string) SSortedStrings {
|
||||
}
|
||||
|
||||
func Append(ss SSortedStrings, ele ...string) SSortedStrings {
|
||||
if ss == nil {
|
||||
ss = NewSortedStrings([]string{})
|
||||
}
|
||||
for _, e := range ele {
|
||||
pos, find := ss.Index(e)
|
||||
if find {
|
||||
|
||||
Reference in New Issue
Block a user