da_json

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: 17 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MJsonInput = app_msg.Apply(&MsgJsonInput{}).(*MsgJsonInput)
)

Functions

This section is empty.

Types

type JsonInput

type JsonInput interface {
	SetFilePath(filePath string)
	FilePath() string
	Spec() JsonInputSpec
	Debug() interface{}
	Open(ctl app_control.Control) error

	SetModel(model interface{})

	EachModel(f func(m interface{}) error) error
}

func NewInput

func NewInput(name string, recipe interface{}) JsonInput

type JsonInputSpec

type JsonInputSpec interface {
	Name() string
	Desc() app_msg.Message
	Doc(ui app_ui.UI) *dc_recipe.DocJsonInput
}

func NewJsonSpec

func NewJsonSpec(name string, recipe interface{}) JsonInputSpec

type MsgJsonInput

type MsgJsonInput struct {
	WarnUnableParseTheLineSkip app_msg.Message
}

Jump to

Keyboard shortcuts

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