Versions in this module Expand all Collapse all v1 v1.4.23 Jul 11, 2018 Changes in this version + var Cyan = color.New(color.FgCyan).SprintfFunc() + var Green = color.New(color.Bold, color.FgGreen).SprintfFunc() + var Red = color.New(color.Bold, color.FgRed).SprintfFunc() + var Yellow = color.New(color.Bold, color.FgYellow).SprintfFunc() + func IntToCheckmark(i int) string + func StringToCheckmark(s string) string + type Checkmark string + func Btoc(b bool) Checkmark + func Itoc(i int) Checkmark + func Stoc(s string) Checkmark + func (c Checkmark) Inverse() Checkmark + func (c Checkmark) String() string + type Converter interface + Convert func(s string) (interface{}, error) + type Option func(t *Table) + func Headers(hs ...string) Option + type Question struct + Converter Converter + CustomSource func() (string, error) + Defaulter func() interface{} + Key string + Text string + func ForBool(key, text string, def bool) Question + func ForPassword(key, text string) Question + func ForString(key, text, def string) Question + type Survey struct + In io.Reader + Out io.Writer + func (s *Survey) Ask(qs []Question, v interface{}) error + type Table struct + func NewTable(opts ...Option) *Table + func (t *Table) Append(row []string) + func (t *Table) Print(w io.Writer)