From b3d9433036778d79749eb4a02d5c417c8df438fd Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Fri, 1 Dec 2017 22:56:44 +0100 Subject: [PATCH] remove unused files --- tools/conf/conf.go | 16 ---------------- tools/conf/errors.generated.go | 5 ----- 2 files changed, 21 deletions(-) delete mode 100644 tools/conf/conf.go delete mode 100644 tools/conf/errors.generated.go diff --git a/tools/conf/conf.go b/tools/conf/conf.go deleted file mode 100644 index 9e1693d56..000000000 --- a/tools/conf/conf.go +++ /dev/null @@ -1,16 +0,0 @@ -package conf - -import ( - "io" - - "v2ray.com/core" - jsonconf "v2ray.com/ext/tools/conf/serial" -) - -//go:generate go run $GOPATH/src/v2ray.com/core/tools/generrorgen/main.go -pkg conf -path Tools,Conf - -func init() { - core.RegisterConfigLoader(core.ConfigFormat_JSON, func(input io.Reader) (*core.Config, error) { - return jsonconf.LoadJSONConfig(input) - }) -} diff --git a/tools/conf/errors.generated.go b/tools/conf/errors.generated.go deleted file mode 100644 index 5051189c5..000000000 --- a/tools/conf/errors.generated.go +++ /dev/null @@ -1,5 +0,0 @@ -package conf - -import "v2ray.com/core/common/errors" - -func newError(values ...interface{}) *errors.Error { return errors.New(values...).Path("Tools", "Conf") }