feat: CLI support for multiple user accounts logins

See #340
This commit is contained in:
quinton11
2023-04-04 16:27:47 +00:00
parent cca9476975
commit 5508434563
6 changed files with 152 additions and 13 deletions
+1 -4
View File
@@ -23,8 +23,5 @@ func WriteToFile(fileName string, dataToWrite []byte, filePerm os.FileMode) erro
func CheckIsConnectedToInternet() (ok bool) {
_, err := http.Get("http://clients3.google.com/generate_204")
if err != nil {
return false
}
return true
return err == nil
}