Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TextInput ¶
type TextInput interface {
SetFilePath(filePath string)
FilePath() string
Spec() TextInputSpec
Debug() interface{}
Open(ctl app_control.Control) error
// Read each line. If a func f returns an error, finish read text immediately and returns the error.
EachLine(f func(line string) error) error
// Returns entire text content.
Content() ([]byte, error)
}
func NewTextInput ¶
type TextInputSpec ¶
type TextInputSpec interface {
Name() string
Desc() app_msg.Message
Doc(ui app_ui.UI) *dc_recipe.DocTextInput
}
func NewInputSpec ¶
func NewInputSpec(name string, recipe interface{}) TextInputSpec
Click to show internal directories.
Click to hide internal directories.