1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-12-28 04:55:37 -05:00

update mocks

This commit is contained in:
Darien Raymond
2018-10-23 22:41:27 +02:00
parent 4988b5ad9a
commit 9e66f315e6
9 changed files with 71 additions and 65 deletions

View File

@@ -2,5 +2,8 @@ package stats
import "v2ray.com/core/common/errors"
type errPathObjHolder struct {}
func newError(values ...interface{}) *errors.Error { return errors.New(values...).WithPathObj(errPathObjHolder{}) }
type errPathObjHolder struct{}
func newError(values ...interface{}) *errors.Error {
return errors.New(values...).WithPathObj(errPathObjHolder{})
}