Skip to content

Instantly share code, notes, and snippets.

@deckarep
Created July 2, 2020 01:22

Revisions

  1. deckarep created this gist Jul 2, 2020.
    10 changes: 10 additions & 0 deletions dog.proto
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    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;
    }