mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-20 15:31:24 +02:00
style: coed cleanup and fix styling
This commit is contained in:
@@ -9,6 +9,7 @@ import (
|
||||
)
|
||||
|
||||
type Matcher func(*maxmind.IPInfo) bool
|
||||
|
||||
type Matchers []Matcher
|
||||
|
||||
const (
|
||||
@@ -26,6 +27,7 @@ var errMatcherFormat = gperr.Multiline().AddLines(
|
||||
"tz:Asia/Shanghai",
|
||||
"country:GB",
|
||||
)
|
||||
|
||||
var (
|
||||
errSyntax = gperr.New("syntax error")
|
||||
errInvalidIP = gperr.New("invalid IP")
|
||||
|
||||
Reference in New Issue
Block a user