ktr0731 / protobuf-enum-compatibility-test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Check backward-compatibility

$ go run v2/cmd/cmdv2/main.go | go run v1/cmd/cmdv1/main.go

cmdv2 writes out serialized apiv2.Message to stdout and cmdv1 reads binary from stdin, then encodes it to apiv1.Message.

Check backward-compatibility by using prototool

$ git checkout apiv2
$ prototool break check proto

About


Languages

Language:Go 100.0%