Last active
May 7, 2021 06:31
-
-
Save monmohan/e7e658ffe3b4ac2d6406e1a5e352aaf7 to your computer and use it in GitHub Desktop.
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='proto3'; | |
package typedefs; | |
option go_package ='./typedefs'; | |
message Patch{ | |
message Copy{ | |
int64 start =1; | |
int64 end=2; | |
} | |
message Insert{ | |
bytes raw_bytes=1; | |
} | |
oneof op{ | |
Copy copy_op=3; | |
Insert insert_op=4; | |
} | |
} | |
message Instructions{ | |
repeated Patch operations=1; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment