Documentation ¶
Index ¶
- func Activities(activities []*models.Activity, users []*models.User)
- func Black(s string) string
- func Blue(s string) string
- func CustomActions(actions []*models.CustomAction)
- func Cyan(s string) string
- func Done()
- func Error(err error)
- func ErrorText(msg string)
- func Green(s string) string
- func Info(msg string)
- func Init(printer Printer)
- func Magenta(s string) string
- func Notification(notification *models.Notification)
- func Notifications(notifications []*models.Notification)
- func Number(number int64)
- func Project(project *models.Project)
- func Projects(projects []*models.Project)
- func Red(s string) string
- func Status(status *models.Status)
- func StatusList(status []*models.Status)
- func Types(types []*models.Type)
- func User(user *models.User)
- func Users(users []*models.User)
- func Versions(versions []*models.Version)
- func White(s string) string
- func WithSpinner[T any](f function[T]) (T, error)
- func WorkPackage(workPackage *models.WorkPackage)
- func WorkPackages(workPackages []*models.WorkPackage)
- func Yellow(s string) string
- type ConsolePrinter
- type Printer
- type TestingPrinter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CustomActions ¶
func CustomActions(actions []*models.CustomAction)
func Notification ¶
func Notification(notification *models.Notification)
func Notifications ¶
func Notifications(notifications []*models.Notification)
func StatusList ¶
func WithSpinner ¶
func WorkPackage ¶
func WorkPackage(workPackage *models.WorkPackage)
func WorkPackages ¶
func WorkPackages(workPackages []*models.WorkPackage)
Types ¶
type ConsolePrinter ¶
type ConsolePrinter struct{}
type TestingPrinter ¶
type TestingPrinter struct {
Result string
}
func (*TestingPrinter) Printf ¶
func (printer *TestingPrinter) Printf(format string, a ...any) (n int, err error)
func (*TestingPrinter) Println ¶
func (printer *TestingPrinter) Println(a ...any) (n int, err error)
func (*TestingPrinter) Reset ¶
func (printer *TestingPrinter) Reset()
Click to show internal directories.
Click to hide internal directories.