diff options
Diffstat (limited to 'example/bad.proto')
| -rw-r--r-- | example/bad.proto | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/example/bad.proto b/example/bad.proto new file mode 100644 index 0000000..b9198e7 --- /dev/null +++ b/example/bad.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + +// this file is wrong and will give you errors + +package main; + +// "Fruit" must exist. you can put anything in it +message Bad { + string something = 1; +} + +message Badthing { + string uuid = 1; // `autogenpb:uuid:be926ad9-f07f-484c-adf2-d96eeabf3079` + string version = 2; // `autogenpb:version:v0.0.1` + repeated Bad Bads = 3; +} |
