Versions in this module Expand all Collapse all v1 v1.0.1 May 25, 2024 v1.0.0 Apr 28, 2022 Changes in this version + func Describe(name, shortDesc string) + func PrintError(message string) + func PrintInfo(message string) + func PrintOK(message string) + func PrintRed(message string) + type Result struct + func New(status Status, message string) Result + func NewCreated(message string) Result + func NewError(message string) Result + func NewInfo(message string) Result + func NewRemoved(message string) Result + func NewUnchanged(message string) Result + func NewUpdated(message string) Result + func Run(runner func() Result) Result + func (result Result) IsCreated() bool + func (result Result) IsError() bool + func (result Result) IsFailure() bool + func (result Result) IsInfo() bool + func (result Result) IsRemoved() bool + func (result Result) IsSuccess() bool + func (result Result) IsUnchanged() bool + func (result Result) IsUpdated() bool + func (result Result) Message() string + func (result Result) Print() + func (result Result) SetMessage(message string) + func (result Result) StandardizeMessage(name, value string) Result + func (result Result) Status() Status + type Set struct + func NewSet(results []Result, message string) Set + func (results *Set) Add(res Result) Set + func (results *Set) SetMessage(message string) + func (results Set) DefaultMessage() string + func (results Set) IsEmpty() bool + func (results Set) IsSuccess() bool + func (results Set) Message() string + func (results Set) OverallResult() Result + func (results Set) Print() + func (results Set) Size() int + type Status int + const Created + const Error + const Info + const Removed + const Unchanged + const Updated + func (s Status) String() string