From 0e571c91a305ee1484bc6c7e0b62a64d859b101c Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Sat, 23 Dec 2017 23:45:54 +0100 Subject: [PATCH] new use protogen --- proto.go | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 proto.go diff --git a/proto.go b/proto.go new file mode 100644 index 000000000..769bcbcae --- /dev/null +++ b/proto.go @@ -0,0 +1,6 @@ +package core + +//go:generate go get -u "github.com/golang/protobuf/protoc-gen-go" +//go:generate go get -u "github.com/golang/protobuf/proto" +//go:generate go install "v2ray.com/ext/tools/vprotogen" +//go:generate vprotogen -repo v2ray.com/core