flags

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromFilter

func FromFilter(filter string, flags Flags) error

func ToFilter

func ToFilter(flags Flags, filter string) error

Types

type Flag

type Flag struct {
	Pattern   string
	ColorAttr color.Attribute
}

type Flags

type Flags map[string]*Flag

func (Flags) Equals

func (f0 Flags) Equals(f1 Flags) bool

Jump to

Keyboard shortcuts

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