mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-10-13 03:37:12 +02:00
refactor: pass golang-ci lint check
This commit is contained in:
1 parent
147d57e8f4
commit
63fc3a656a
22 files changed
+112
-99
No files matched your search
@@ -35,7 +35,8 @@ func New(name, storage, profilePath string, items []item.Item) ([]*firefox, erro
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
var firefoxList []*firefox
|
||||
|
||||
firefoxList := make([]*firefox, 0, len(multiItemPaths))
|
||||
for name, itemPaths := range multiItemPaths {
|
||||
firefoxList = append(firefoxList, &firefox{
|
||||
name: fmt.Sprintf("firefox-%s", name),
|
||||
|
||||
Reference in new issue
Block a user