Summary
In this chapter, we got more practical experience with Protobuf. We learned how to interact with Protobuf in Go. We touched upon as many Protobuf concepts as possible: maps
, repeated
, oneof
, nested types, field options, and so on. Then, we learned how to serialize/deserialize data to/from a file. Finally, we linked everything to a CLI that has the add
and list
commands.
In the next chapter, we will create the same project in Python. The overall goal is to learn how to interact with Protobuf in this new language but also to show you that serialized data in Go can be read in Python and inversely.