Skip to content

Instantly share code, notes, and snippets.

@mgravell
Last active January 24, 2018 12:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mgravell/bc9d82f8397fa022286f15a2247f2d4c to your computer and use it in GitHub Desktop.
Save mgravell/bc9d82f8397fa022286f15a2247f2d4c to your computer and use it in GitHub Desktop.
syntax = "proto2";
import "protobuf-net/protogen.proto";
option (.protobuf_net.fileopt).langver = "3";
message Foo {
optional int32 i = 1 [default = 12];
repeated Bar bars = 2;
}
message Bar {
optional int32 id = 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment