protocgengo

package
v0.0.0-...-65ee0f0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name = "protoc-gen-go"
)

Variables

This section is empty.

Functions

func Exists

func Exists() bool

func Install

func Install(cacheDir string) (string, error)

func Version

func Version() (string, error)

Version is used to get the version of the protoc-gen-go plugin. For older versions, protoc-gen-go does not support version fetching, so if protoc-gen-go --version is executed, it will cause the process to block, so it is controlled by a timer to prevent the older version process from blocking.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL