Documentation ¶
Index ¶
- Variables
- type Main
- func (m *Main) AddInfo(paragraph string) *Main
- func (m *Main) AfterAlways(a action.WithPrevErr) *Main
- func (m *Main) AfterFailure(a action.WithPrevErr) *Main
- func (m *Main) AfterSuccess(a action.Action) *Main
- func (m *Main) Before(a action.WithArgs) *Main
- func (m *Main) BeforeAlways(a action.WithArgs) *Main
- func (m *Main) Do(a action.WithArgs) *Main
- func (m *Main) Run()
- func (m *Main) SetOptions(a ...options.Arg) *Main
- func (m *Main) Setup(setup action.Action) *Main
- func (m *Main) Tick(a action.Tick) *Main
- func (m *Main) Tock(a action.Tock) *Main
- func (m *Main) WithAddon(addon *addon.Addon) *Main
- func (m *Main) WithBrand(b *branding.Builder) *Main
- func (m *Main) WithCommand(cmd *command.Command) *Main
- func (m *Main) WithFlags(ffns ...varflag.FlagCreateFunc) *Main
- func (m *Main) WithLogger(logger logging.Logger) *Main
- func (m *Main) WithMigrations(mm *migration.Manager) *Main
- func (m *Main) WithOptions(opts ...options.Spec) *Main
- func (m *Main) WithService(svc *services.Service) *Main
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Error = errors.New("app")
)
Functions ¶
This section is empty.
Types ¶
type Main ¶
type Main struct {
// contains filtered or unexported fields
}
func (*Main) AfterAlways ¶
func (m *Main) AfterAlways(a action.WithPrevErr) *Main
func (*Main) AfterFailure ¶
func (m *Main) AfterFailure(a action.WithPrevErr) *Main
Click to show internal directories.
Click to hide internal directories.