Documentation
¶
Index ¶
Constants ¶
View Source
const (
WireCmd = "wire"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CmdExec ¶
type CmdExec struct {
// contains filtered or unexported fields
}
type CmdExecOption ¶ added in v0.1.1
type CmdExecOption func(*CmdExec)
func WithCmdExecLogger ¶ added in v0.1.1
func WithCmdExecLogger(logger log.Logger) CmdExecOption
type Exec ¶
type Exec interface {
ExecWire(string, ...string) error
ExecFmt(string, ...string) error
ExecTest(string, ...string) error
ExecBuild(string, ...string) error
}
func NewCmdExec ¶
func NewCmdExec(options ...CmdExecOption) Exec
func NewNullExec ¶
func NewNullExec() Exec
type Field ¶
type Field struct {
Name string
Type string
TypeName string
// Name + type or type.
Field string
Size int
Doc []string
Tag string
}
Struct field.
type NullExec ¶
type NullExec struct{}
Click to show internal directories.
Click to hide internal directories.