Created
September 21, 2015 18:14
-
-
Save Se7soz/e7505934bd9eb43ead1e to your computer and use it in GitHub Desktop.
Protocol buffer example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax = "proto2"; | |
package model; | |
message Person { | |
required string name = 1; | |
required int32 id = 2; | |
optional string email = 3; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment