mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-10 16:44:10 +00:00
use new errorgen
This commit is contained in:
46 files changed
+47
-46
No files matched your search
+1
-1
@@ -2,7 +2,7 @@
|
||||
// See each sub-package for detail.
|
||||
package common
|
||||
|
||||
//go:generate go run $GOPATH/src/v2ray.com/core/common/errors/errorgen/main.go -pkg common -path Common
|
||||
//go:generate errorgen
|
||||
|
||||
// Must panics if err is not nil.
|
||||
func Must(err error) {
|
||||
|
||||
Reference in new issue
Block a user