simplify errorgen calling

pull/1291/head
Darien Raymond 2018-09-30 19:37:52 +02:00
parent 07aa486d43
commit f7a68fe4b8
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
3 changed files with 1 additions and 4 deletions

View File

@ -1 +0,0 @@
package errorgen

View File

@ -1,5 +1,3 @@
// +build generate
package main
import (

View File

@ -1,3 +1,3 @@
package protocol // import "v2ray.com/core/common/protocol"
//go:generate go run $GOPATH/src/v2ray.com/core/common/errors/errorgen/main.go -pkg protocol -path Protocol
//go:generate errorgen