Skip to content
Ondrej Fabry edited this page Oct 30, 2019 · 5 revisions

This document provides info about working with Protobuf files and using Protobuf compiler for generating Go code.

Protobuf files location

All Protobuf files (.proto) should go into directory proto in root of the repository. This includes third-pary Protobuf files, that are imported in the .proto files.

The proto directory should only contain directories named by project they originate from. This means that for example all Protobuf files defined for Ligato project should go into proto/ligato/ directory.