From 14af94205c1ecb0ae2ed99de8c8398e75b157578 Mon Sep 17 00:00:00 2001 From: "maze.y2b@gmail.com" Date: Thu, 25 Nov 2021 23:20:08 +0800 Subject: [PATCH] [test] rule providers --- constant/provider/interface.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/constant/provider/interface.go b/constant/provider/interface.go index da03033b..7f1bda42 100644 --- a/constant/provider/interface.go +++ b/constant/provider/interface.go @@ -2,7 +2,6 @@ package provider import "C" import ( - "errors" "github.com/Dreamacro/clash/component/trie" "github.com/Dreamacro/clash/constant" ) @@ -108,10 +107,6 @@ type RuleProvider interface { } var ( - parse = func(ruleType, rule string, params []string) (C.Rule, error) { - return nil, errors.New("unimplemented function") - } - ruleProviders = map[string]*RuleProvider{} )