protocgengo

package
v1.8.17 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2024 License: GPL-3.0 Imports: 6 Imported by: 2

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