chore: add lint ruler, exclude unused variable

This commit is contained in:
ᴍᴏᴏɴD4ʀᴋ committed 2022-08-14 22:51:31 +08:00
1 parent 14fd71005a
commit 2a0ed1ebbf
3 files changed
+7 -1

No files matched your search

-1
View File
@@ -114,7 +114,6 @@ func ListBrowser() []string {
// home dir path for all platforms
var homeDir, _ = os.UserHomeDir()
//nolint:unused
const (
chromeName = "Chrome"
chromeBetaName = "Chrome Beta"
+1
View File
@@ -185,6 +185,7 @@ func (l loginPBE) Decrypt(globalSalt, masterPwd []byte) (key []byte, err error)
func (l loginPBE) iv() []byte {
return l.Data.IV
}
func (l loginPBE) encrypted() []byte {
return l.Encrypted
}