releasetypes

package
v0.56.1 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2022 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
const (
	InvalidType Type = iota
	GitHub
)

func MustParse

func MustParse(s string) Type

MustParse is like Parse but panics if the string is not a valid release 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