Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecArgs ¶
type ExecArgs struct {
Target string // 対象
Mapping mapping.ExampleMapping // マッピング情報
}
ExecArgs -- ExecCommand の 引数データ を表します.
func NewExecArgs ¶
func NewExecArgs(target string, m mapping.ExampleMapping) *ExecArgs
NewExecArgs -- 新しい ExecArgs を生成して返します.
type ExecError ¶
type ExecError struct {
Name mapping.ExampleKey // 名称
Err error // エラー
}
ExecError -- 実行時エラーを表します.
type LoopArgs ¶
type LoopArgs struct {
In io.Reader // 入力
OneTime bool // 一回実行で完了するかどうか
Mapping mapping.ExampleMapping // マッピング情報
}
LoopArgs -- Loop の引数データを表します.
func NewLoopArgs ¶
NewLoopArgs -- 新しい LoopArgs を生成して返します.
type OnceArgs ¶
type OnceArgs struct {
ExecArgs // 引数
}
OnceArgs -- Once の引数データを表します.
func NewOnceArgs ¶
func NewOnceArgs(target string, m mapping.ExampleMapping) *OnceArgs
NewOnceArgs -- 新しい OnceArgs を生成して返します.
Click to show internal directories.
Click to hide internal directories.