itype

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	COMMENT = ItemType("comment")
	ENV     = ItemType("env")
	PATH    = ItemType("path")
	ALIAS   = ItemType("alias")
	SOURCE  = ItemType("source")
	RAW     = ItemType("raw")

	IF_DIRECTORY = ItemType("if-directory")
	IF_COMMAND   = ItemType("if-command")
)

Variables

This section is empty.

Functions

func Contains

func Contains(v string) bool

Types

type ItemType

type ItemType string

func All

func All() []ItemType

func FromString

func FromString(s string) (ItemType, bool)

func (ItemType) String

func (i ItemType) String() string

func (ItemType) Validate

func (i ItemType) Validate() error

func (ItemType) Variant

func (i ItemType) Variant() vari.Variant

Jump to

Keyboard shortcuts

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