Files
chasquid/internal/protoio/testpb/testpb.proto
Alberto Bertogli 50986a7b7e Update protobuf library to v2
There is a new protobuf library (and corresponding code generator) for
Go: google.golang.org/protobuf.

It is fairly compatible with the previous v1 API
(github.com/golang/protobuf), but there are some changes.

This patch adjusts the code and generated files to the new API.

The on-wire/on-disk format remains unchanged so this should be
transparent to the users.
2020-05-16 10:12:51 +01:00

10 lines
147 B
Protocol Buffer

syntax = "proto3";
package testpb;
option go_package = "blitiri.com.ar/go/chasquid/internal/protoio/testpb";
message M {
string content = 1;
}