From cdfbd0317f0826bc09adbaff2d123312862865e9 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Thu, 22 Feb 2018 11:58:46 +0100 Subject: [PATCH] remove unused function --- proxy/errors.generated.go | 5 ----- proxy/proxy.go | 2 -- 2 files changed, 7 deletions(-) delete mode 100644 proxy/errors.generated.go diff --git a/proxy/errors.generated.go b/proxy/errors.generated.go deleted file mode 100644 index f144f5d19..000000000 --- a/proxy/errors.generated.go +++ /dev/null @@ -1,5 +0,0 @@ -package proxy - -import "v2ray.com/core/common/errors" - -func newError(values ...interface{}) *errors.Error { return errors.New(values...).Path("Proxy") } diff --git a/proxy/proxy.go b/proxy/proxy.go index 7174c2453..0278d1185 100644 --- a/proxy/proxy.go +++ b/proxy/proxy.go @@ -5,8 +5,6 @@ // 2. Register a config creator through common.RegisterConfig. package proxy -//go:generate go run $GOPATH/src/v2ray.com/core/common/errors/errorgen/main.go -pkg proxy -path Proxy - import ( "context"