mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-07-04 21:37:47 +02:00
feat: sort with browser name
This commit is contained in:
@@ -3,6 +3,7 @@ package browser
|
|||||||
import (
|
import (
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
"sort"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"hack-browser-data/internal/browingdata"
|
"hack-browser-data/internal/browingdata"
|
||||||
@@ -108,6 +109,7 @@ func ListBrowser() []string {
|
|||||||
var l []string
|
var l []string
|
||||||
l = append(l, typeutil.Keys(chromiumList)...)
|
l = append(l, typeutil.Keys(chromiumList)...)
|
||||||
l = append(l, typeutil.Keys(firefoxList)...)
|
l = append(l, typeutil.Keys(firefoxList)...)
|
||||||
|
sort.Strings(l)
|
||||||
return l
|
return l
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user