colorchooser

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2019 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Choose

func Choose(prefix string) color.Attribute

func Sprint

func Sprint(prefix string) string

Types

type ColorChooser

type ColorChooser struct {
	// contains filtered or unexported fields
}

func New

func New(colors ...color.Attribute) *ColorChooser

func (*ColorChooser) Choose

func (c *ColorChooser) Choose(prefix string) color.Attribute

func (*ColorChooser) Sprint

func (c *ColorChooser) Sprint(prefix string) string

Jump to

Keyboard shortcuts

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