Documentation ¶ Index ¶ Constants func Contains(v string) bool type ItemType func All() []ItemType func FromString(s string) (ItemType, bool) func (i ItemType) String() string func (i ItemType) Validate() error func (i ItemType) Variant() vari.Variant 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 Source Files ¶ View all Source files itype.go Click to show internal directories. Click to hide internal directories.