mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-21 23:50:09 +08:00
💩👌 make lint happy
This commit is contained in:
parent
7bb3203dfb
commit
dc9ca1e63f
@ -7,6 +7,7 @@ import (
|
|||||||
"github.com/sirupsen/logrus"
|
"github.com/sirupsen/logrus"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// IsSupportIPv6 检查本机是否支持 ipv6
|
||||||
var IsSupportIPv6 = func() bool {
|
var IsSupportIPv6 = func() bool {
|
||||||
resp, err := http.Get("http://v6.ipv6-test.com/json/widgetdata.php?callback=?")
|
resp, err := http.Get("http://v6.ipv6-test.com/json/widgetdata.php?callback=?")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user