Merge branch 'dns' into dns-geo

This commit is contained in:
秋のかえで
2021-05-01 08:48:29 +08:00
12 changed files with 910 additions and 48 deletions
+1
View File
@@ -27,6 +27,7 @@ const (
// New creates a new Matcher based on the given pattern.
func (t Type) New(pattern string) (Matcher, error) {
// 1. regex matching is case-sensitive
switch t {
case Full:
return fullMatcher(pattern), nil