pruning some codes

Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
This commit is contained in:
MHSanaei
2023-05-13 13:29:10 +03:30
parent fd6a85afd9
commit 77241c7fcf
5 changed files with 2 additions and 25 deletions

View File

@@ -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)