enum

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2026 License: MIT Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Arrow

type Arrow string
const (
	NoneA         Arrow = "none"
	Forward       Arrow = "forward"
	Backward      Arrow = "backward"
	Bidirectional Arrow = "bidirectional"
)

func (*Arrow) IsVal

func (v *Arrow) IsVal() error

func (*Arrow) Set

func (v *Arrow) Set(s string) error

func (*Arrow) String

func (v *Arrow) String() string

func (*Arrow) Type

func (v *Arrow) Type() string

func (*Arrow) Vals

func (v *Arrow) Vals() (vals []string)

type Enum

type Enum interface {
	IsVal() error
	Vals() []string
	pflag.Value
}

type Fill

type Fill string
const (
	Black Fill = "black"
	White Fill = "white"
	Gray  Fill = "gray"
	None  Fill = "none"
)

func (*Fill) IsVal

func (v *Fill) IsVal() error

func (*Fill) Set

func (v *Fill) Set(s string) error

func (*Fill) String

func (v *Fill) String() string

func (*Fill) Type

func (v *Fill) Type() string

func (*Fill) Vals

func (v *Fill) Vals() (vals []string)

type Pattern

type Pattern string
const (
	Solid  Pattern = "solid"
	Dotted Pattern = "dotted"
	Dashed Pattern = "dashed"
)

func (*Pattern) IsVal

func (v *Pattern) IsVal() error

func (*Pattern) Set

func (v *Pattern) Set(s string) error

func (*Pattern) String

func (v *Pattern) String() string

func (*Pattern) Type

func (v *Pattern) Type() string

func (*Pattern) Vals

func (v *Pattern) Vals() (vals []string)

type Stroke

type Stroke string
const (
	Normal    Stroke = "normal"
	Thick     Stroke = "thick"
	VeryThick Stroke = "very-thick"
)

func (*Stroke) IsVal

func (s *Stroke) IsVal() error

func (*Stroke) Set

func (s *Stroke) Set(o string) error

func (*Stroke) String

func (s *Stroke) String() string

func (*Stroke) Type

func (s *Stroke) Type() string

func (*Stroke) Vals

func (s *Stroke) Vals() (strokes []string)

Jump to

Keyboard shortcuts

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