1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-12-28 21:15:46 -05:00

move error generator to common

This commit is contained in:
Darien Raymond
2017-12-03 01:04:57 +01:00
parent 5e27e3d260
commit d43a23aa96
38 changed files with 84 additions and 37 deletions

View File

@@ -2,7 +2,7 @@
// See each sub-package for detail.
package common
//go:generate go run $GOPATH/src/v2ray.com/core/tools/generrorgen/main.go -pkg common -path Common
//go:generate go run $GOPATH/src/v2ray.com/core/common/errors/errorgen/main.go -pkg common -path Common
// Must panics if err is not nil.
func Must(err error) {