0
mirror of https://github.com/XTLS/Xray-core.git synced 2025-06-14 12:29:36 +03:00

Add YAML Support (#86)

This commit is contained in:
Monsoon
2020-12-25 03:30:26 +08:00
committed by GitHub
parent f073456ac0
commit 85619b5a29
7 changed files with 96 additions and 0 deletions

View File

@ -0,0 +1,9 @@
package yaml
import "github.com/xtls/xray-core/common/errors"
type errPathObjHolder struct{}
func newError(values ...interface{}) *errors.Error {
return errors.New(values...).WithPathObj(errPathObjHolder{})
}