Documentation ¶
Index ¶
Constants ¶
View Source
const ( TypeCreate = iota + 1 TypeUpdate TypeDelete )
Variables ¶
This section is empty.
Functions ¶
func ActionsDiff ¶
func ActionsDiff(w io.Writer, ctx *ActionsDiffCtx) error
func ConfirmHTML ¶
func ConfirmShell ¶
Types ¶
type ActionFunc ¶
type ActionFunc func() error
type ActionsDiffCtx ¶
type ActionsDiffCtx struct {
Actions []*Action
}
func (*ActionsDiffCtx) ActionString ¶
func (ctx *ActionsDiffCtx) ActionString(a *Action) string
func (*ActionsDiffCtx) ColorizeDiff ¶
func (a *ActionsDiffCtx) ColorizeDiff(in []byte) string
Click to show internal directories.
Click to hide internal directories.