...
1version = "2"
2generators = ["go", "go-ttrpc"]
3
4# Control protoc include paths. Below are usually some good defaults, but feel
5# free to try it without them if it works for your project.
6[includes]
7 # Include paths that will be added before all others. Typically, you want to
8 # treat the root of the project as an include, but this may not be necessary.
9 # before = ["./protobuf"]
10
11 # Paths that will be added untouched to the end of the includes. We use
12 # `/usr/local/include` to pickup the common install location of protobuf.
13 # This is the default.
14 after = ["/usr/local/include"]
15
16# This section maps protobuf imports to Go packages. These will become
17# `-M` directives in the call to the go protobuf generator.
18[packages]
19 "google/rpc/status.proto" = "github.com/containerd/containerd/protobuf/google/rpc"
View as plain text