refactor: refactor package with gofumpt

This commit is contained in:
ᴍᴏᴏɴD4ʀᴋ
2022-06-05 14:51:37 +08:00
parent e6aa1f0c61
commit 6d710c20e1
18 changed files with 44 additions and 72 deletions
+2 -4
View File
@@ -111,10 +111,8 @@ func ListBrowser() []string {
return l
}
var (
// home dir path for all platforms
homeDir, _ = os.UserHomeDir()
)
// home dir path for all platforms
var homeDir, _ = os.UserHomeDir()
const (
chromeName = "Chrome"