package
0.0.0-20230625222648-4a61b4dc3db9
Repository: https://github.com/technofab11/powerproto.git
Documentation: pkg.go.dev
# Functions
GetGitLatestCommitId is used to get the latest commit id.
No description provided by the author
GetGoPkgExecName is used to parse binary name from pkg uri `src\cmd\go\internal\load\pkg.go:1595`.
GetPluginPath is used to get the plugin path.
GetProtocRelease is used to download protoc release.
InstallPluginUsingGo is used to install plugin using golang.
IsPluginInstalled is used to check whether a plugin is installed.
IsProtocInstalled is used to check whether the protoc version is installed.
ListGitTags is used to list the git tags of specified repository.
ListGoPackageVersions is list go package versions.
ListsGoPackageVersionsAmbiguously is used to list go package versions ambiguously.
NewBasicPluginManager is used to create basic PluginManager.
NewConfig is used to create config.
NewPluginManager is used to create PluginManager.
PathForGitRepos is used to get the git repo local path.
PathForGitReposCode returns the code path for git repos.
PathForInclude is used to get the local directory of include files.
PathForPlugin is used to get the binary path of plugin Path: e.g "google.golang.org/protobuf/cmd/protoc-gen-go".
PathForPluginDir is used to get the local directory where the specified version plug-in should be stored.
PathForProtoc is used to get the local binary location where the specified version protoc should be stored.
# Structs
BasicPluginManager is the basic implement of PluginManager.
Config defines the config of PluginManager.
ErrGitList defines the git list error.
ErrGoInstall defines the go install error.
ErrGoList defines the go list error.
ErrHTTPDownload defines the download error.
GitRepository describes a local git repository.
Module defines the model of go list data.
ModuleError defines the module error.
ProtocRelease defines the release of protoc.
# Interfaces
PluginManager is used to manage plugins.