refactor: format code with interface

This commit is contained in:
ᴍᴏᴏɴD4ʀᴋ
2020-07-31 15:29:07 +08:00
parent 6ac92acb1a
commit 5936e17e26
5 changed files with 13 additions and 11 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ func (c *chromium) InitSecretKey() error {
temp := stdout.Bytes()
chromeSecret := temp[:len(temp)-1]
if chromeSecret == nil {
return ErrChromeSecretIsEmpty
return errChromeSecretIsEmpty
}
var chromeSalt = []byte("saltysalt")
// @https://source.chromium.org/chromium/chromium/src/+/master:components/os_crypt/os_crypt_mac.mm;l=157