mirror of
				https://gitea.com/Lydanne/buildx.git
				synced 2025-11-04 10:03:42 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			TOML
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			TOML
		
	
	
	
	
	
version = "2"
 | 
						|
generators = ["go"]
 | 
						|
 | 
						|
# Control protoc include paths. Below are usually some good defaults, but feel
 | 
						|
# free to try it without them if it works for your project.
 | 
						|
[includes]
 | 
						|
  # Include paths that will be added before all others. Typically, you want to
 | 
						|
  # treat the root of the project as an include, but this may not be necessary.
 | 
						|
  before = ["."]
 | 
						|
 | 
						|
  # Paths that will be added untouched to the end of the includes. We use
 | 
						|
  # `/usr/local/include` to pickup the common install location of protobuf.
 | 
						|
  # This is the default.
 | 
						|
  after = ["/usr/local/include"]
 | 
						|
 | 
						|
# This section maps protobuf imports to Go packages. These will become
 | 
						|
# `-M` directives in the call to the go protobuf generator.
 | 
						|
[packages]
 | 
						|
  "google/protobuf/any.proto" = "github.com/gogo/protobuf/types"
 | 
						|
  "proto/status.proto" = "google.golang.org/genproto/googleapis/rpc/status"
 | 
						|
 | 
						|
[[overrides]]
 | 
						|
# enable ttrpc and disable fieldpath and grpc for the shim
 | 
						|
prefixes = ["github.com/containerd/ttrpc/integration/streaming"]
 | 
						|
generators = ["go", "go-ttrpc"]
 |