style: format download history struct

This commit is contained in:
moond4rk
2021-02-10 00:05:38 +08:00
committed by ᴍᴏᴏɴD4ʀᴋ
parent 0620dbc22d
commit 963df0dbf5
3 changed files with 70 additions and 54 deletions
+4 -4
View File
@@ -46,7 +46,7 @@ const (
cookie = "cookie"
history = "history"
bookmark = "bookmark"
downloadHistory = "downloadHistory"
download = "download"
password = "password"
creditcard = "creditcard"
)
@@ -75,9 +75,9 @@ var (
mainFile: data.ChromeHistoryFile,
newItem: data.NewHistoryData,
},
downloadHistory: {
mainFile: data.ChromeHistoryFile,
newItem: data.NewDownloadHistoryData,
download: {
mainFile: data.ChromeDownloadFile,
newItem: data.NewDownloads,
},
password: {
mainFile: data.ChromePasswordFile,