From 8a3f4b8feef81a6e64baa607a5ab7c729c9f7acd 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:33:06 +0800 Subject: [PATCH] fix: compile error for linux --- utils/utils.go | 3 --- utils/utils_linux.go | 5 +++++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/utils/utils.go b/utils/utils.go index 7292fe5..612db9b 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -53,9 +53,6 @@ const ( FirefoxKey3DB = "key3.db" ) -func InitKey(string) error { - return nil -} func ListBrowser() []string { var l []string diff --git a/utils/utils_linux.go b/utils/utils_linux.go index 8baca46..fe4634e 100644 --- a/utils/utils_linux.go +++ b/utils/utils_linux.go @@ -33,6 +33,11 @@ var ( } ) + +func InitKey(string) error { + return nil +} + func DecryptStringWithDPAPI(data []byte) (string, error) { return string(data), nil }