mirror of
https://github.com/teamhanko/hanko.git
synced 2025-10-27 14:17:56 +08:00
24 lines
383 B
Go
24 lines
383 B
Go
package shared
|
|
|
|
import (
|
|
"github.com/teamhanko/hanko/backend/v2/flowpilot"
|
|
)
|
|
|
|
type Skip struct {
|
|
Action
|
|
}
|
|
|
|
func (a Skip) GetName() flowpilot.ActionName {
|
|
return ActionSkip
|
|
}
|
|
|
|
func (a Skip) GetDescription() string {
|
|
return "Skip"
|
|
}
|
|
|
|
func (a Skip) Initialize(c flowpilot.InitializationContext) {}
|
|
|
|
func (a Skip) Execute(c flowpilot.ExecutionContext) error {
|
|
return c.Continue()
|
|
}
|