From 77241c7fcf156b6ebee13bf58f4342aca16292e1 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Sat, 13 May 2023 13:29:10 +0330 Subject: pruning some codes Co-Authored-By: Alireza Ahmadi --- util/common/err.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'util/common/err.go') diff --git a/util/common/err.go b/util/common/err.go index c0ecbbb8..f6078c33 100644 --- a/util/common/err.go +++ b/util/common/err.go @@ -6,8 +6,6 @@ import ( "x-ui/logger" ) -var CtxDone = errors.New("context done") - func NewErrorf(format string, a ...interface{}) error { msg := fmt.Sprintf(format, a...) return errors.New(msg) -- cgit v1.2.3