Skip to content

Instantly share code, notes, and snippets.

@deckarep
Created July 2, 2020 01:22
Show Gist options
  • Save deckarep/6d057cbeac507061a371ea98fe1fdffd to your computer and use it in GitHub Desktop.
Save deckarep/6d057cbeac507061a371ea98fe1fdffd to your computer and use it in GitHub Desktop.
Protobuf Talk: Dog schema definition
syntax = "proto2";
option go_package = "main";
message Dog {
required int32 owner_id= 1;
optional string breed = 2;
optional float height_in = 3;
optional string color = 4;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment