SnakeCase name func

This commit is contained in:
Данил 2022-09-21 10:47:49 +03:00
parent e603702aa3
commit 5312ea9f99

View file

@ -2,7 +2,7 @@ package functions
import "net/http" import "net/http"
var Connected = func() (ok bool) { func Connected() (ok bool) {
_, err := http.Get("http://clients3.google.com/generate_204") _, err := http.Get("http://clients3.google.com/generate_204")
if err != nil { if err != nil {
return false return false