plugintypes

package
v0.57.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Type

type Type int

Type is the type of external tool.

const (
	// InvalidType is an invalid type.
	Invalid Type = iota

	// A external tool run via "go run ..."
	GoRun
)

func MustParse

func MustParse(s string) Type

MustParse is like Parse but panics if the string is not a valid type.

func Parse

func Parse(s string) (Type, error)

Parse parses a string into a Type.

func (Type) String

func (t Type) String() string

Jump to

Keyboard shortcuts

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