Versions in this module Expand all Collapse all v1 v1.0.1 Apr 20, 2022 v1.0.0 Jul 4, 2019 Changes in this version + var ErrKeyboardInterrupt = errors.New("keyboard interrupt") + var ErrNotANumber = errors.New("not a number") + var ErrNotBoolean = errors.New("not y, n, yes, or no") + type Choice struct + Display string + Value interface{} + type Interaction struct + Choices []Choice + Input io.Reader + Output io.Writer + Prompt string + func NewInteraction(prompt string, choices ...Choice) Interaction + func (interaction Interaction) Resolve(dst interface{}) error + type NotAssignableError struct + Destination reflect.Type + Value reflect.Type + func (err NotAssignableError) Error() string + type Password string + type RequiredDestination struct + Destination interface{} + func Required(dst interface{}) RequiredDestination