Revert "[test] rule providers"

This reverts commit 14af94205c.
This commit is contained in:
gVisor bot 2021-11-26 00:57:36 +08:00
parent d3708a2e71
commit b1796acd83

View file

@ -2,6 +2,7 @@ package provider
import "C"
import (
"errors"
"github.com/Dreamacro/clash/component/trie"
"github.com/Dreamacro/clash/constant"
)
@ -107,6 +108,10 @@ type RuleProvider interface {
}
var (
parse = func(ruleType, rule string, params []string) (C.Rule, error) {
return nil, errors.New("unimplemented function")
}
ruleProviders = map[string]*RuleProvider{}
)