fd_file

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RowFeed

type RowFeed interface {
	Rows
	SetModel(m interface{})
	SetFilePath(filePath string)
	FilePath() string

	Model() interface{}
	Open(ctl app_control.Control) error
	Spec() Spec
}

Row feed interface for SelfContainedRecipe

type Rows

type Rows interface {
	EachRow(exec func(m interface{}, rowIndex int) error) error
}

type Spec

type Spec interface {
	Name() string
	Desc() app_msg.Message
	Columns() []string
	ColumnDesc(col string) app_msg.Message
	ColumnExample(col string) app_msg.Message

	// Generate spec doc of the feed
	Doc(ui app_ui.UI) *dc_recipe.Feed
}

Jump to

Keyboard shortcuts

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