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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user