package
0.7.1
Repository: https://github.com/zenithar/prototool.git
Documentation: pkg.go.dev

# Functions

CompilerWithCachePath returns a CompilerOption that uses the given cachePath.
CompilerWithFileDescriptorSet says to also return the FileDescriptorSet.
CompilerWithGen says to also generate the code.
CompilerWithLogger returns a CompilerOption that uses the given logger.
CompilerWithProtocURL returns a CompilerOption that uses the given protoc zip file URL.
DownloaderWithCachePath returns a DownloaderOption that uses the given cachePath.
DownloaderWithLogger returns a DownloaderOption that uses the given logger.
DownloaderWithProtocURL returns a DownloaderOption that uses the given protoc zip file URL.
NewCompiler returns a new Compiler.
NewDownloader returns a new Downloader for the given config and DownloaderOptions.

# Structs

CompileResult is the result of a compile.

# 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.