Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PatchProtoFile ¶
Types ¶
type ProtoFilePatcher ¶
type ProtoFilePatcher struct { // specify a function that returns the go_package option the patched proto file will use PatchGoPackage func(path string) string // the root of the vendor dir where the proto files will be patched recursively RootDir string // patch files matching these patterns MatchPatterns []string }
ProtoFilePatcher updates vendored proto files with custom patches.
func (ProtoFilePatcher) PatchProtoFiles ¶
func (p ProtoFilePatcher) PatchProtoFiles() error
Click to show internal directories.
Click to hide internal directories.