gogo/protobuf without deleting the actual go-types:
- it uses custom types and adds the necessary methods to (our) Vote
- the conversion between proto votes (VoteType) and our votes (Vote)
is done manually
- Note: there is some conversion between int <-> int64 which won't work
reliably on 32 bit machines
- there are some tests but I'm not confident they test for all the edge
cases
- my script to generate the proto files from go structs did not work
reliably (had to write those messages manually)
Signed-off-by: Ismail Khoffi <Ismail.Khoffi@gmail.com>