feature: recode structuralized GetExtraDetails and ListItemFilter

This commit is contained in:
Qiu Jian
2020-03-04 14:01:25 +08:00
parent c81a004878
commit cf5498ac24
299 changed files with 16056 additions and 4629 deletions
+3
View File
@@ -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 {