From 0b8cee62cdd0fb5704f569975e17929e53bcc1c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=B4=8D=E1=B4=8F=E1=B4=8F=C9=B4D4=CA=80=E1=B4=8B?= Date: Fri, 10 Jul 2020 16:37:27 +0800 Subject: [PATCH] style: format project --- utils/utils.go | 1 - utils/utils_darwin.go | 3 ++- utils/utils_linux.go | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/utils/utils.go b/utils/utils.go index 612db9b..dc995c6 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -53,7 +53,6 @@ const ( FirefoxKey3DB = "key3.db" ) - func ListBrowser() []string { var l []string for k := range browserList { diff --git a/utils/utils_darwin.go b/utils/utils_darwin.go index dd838dc..1df7c74 100644 --- a/utils/utils_darwin.go +++ b/utils/utils_darwin.go @@ -151,7 +151,8 @@ func DecodeNss(nssA11Bytes []byte) (pbe NssPBE, err error) { } func DecryptMeta(globalSalt, masterPwd []byte, pbe MetaPBE) ([]byte, error) { - return decryptPBE(globalSalt, masterPwd, pbe.EntrySalt, pbe.Encrypted)} + return decryptPBE(globalSalt, masterPwd, pbe.EntrySalt, pbe.Encrypted) +} func DecryptNss(globalSalt, masterPwd []byte, pbe NssPBE) ([]byte, error) { return decryptPBE(globalSalt, masterPwd, pbe.EntrySalt, pbe.Encrypted) diff --git a/utils/utils_linux.go b/utils/utils_linux.go index fe4634e..30263ab 100644 --- a/utils/utils_linux.go +++ b/utils/utils_linux.go @@ -33,7 +33,6 @@ var ( } ) - func InitKey(string) error { return nil }