package
1.11.1
Repository: https://github.com/ayaro/prototool.git
Documentation: pkg.go.dev

# Functions

CompilerWithCachePath returns a CompilerOption that uses the given cachePath.
CompilerWithFileDescriptorSet says to also return the FileDescriptorSet.
CompilerWithFileDescriptorSetFullControl says to also return the FileDescriptorSet but with extra controls.
CompilerWithGen says to also generate the code.
CompilerWithLogger returns a CompilerOption that uses the given logger.
CompilerWithProtocBinPath returns a CompilerOption that uses the given protoc binary path.
CompilerWithProtocURL returns a CompilerOption that uses the given protoc zip file URL.
CompilerWithProtocWKTPath returns a CompilerOption that uses the given path to include the well-known types.
DownloaderWithCachePath returns a DownloaderOption that uses the given cachePath.
DownloaderWithLogger returns a DownloaderOption that uses the given logger.
DownloaderWithProtocBinPath returns a DownloaderOption that uses the given protoc binary path.
DownloaderWithProtocURL returns a DownloaderOption that uses the given protoc zip file URL.
DownloaderWithProtocWKTPath returns a DownloaderOption that uses the given path to include the well-known types.
NewCompiler returns a new Compiler.
NewDownloader returns a new Downloader for the given config and DownloaderOptions.

# Structs

CompileResult is the result of a compile.
FileDescriptorSet is a wrapper for descriptor.FileDescriptorSet.

# Interfaces

Compiler compiles protobuf files.
Downloader downloads and caches protobuf.

# Type aliases

CompilerOption is an option for a new Compiler.
DownloaderOption is an option for a new Downloader.
FileDescriptorSets are a slice of FileDescriptorSet objects.