Documentation ¶
Index ¶
- Variables
- func FormatFloatMinDecimal(value float64) string
- func PrintCombinedLogEntryTable(entries []model.CombinedLogEntry)
- func PrintIncomeReportTable(reports []report.MonthIncomeReport)
- func PrintInvoicePeriodLogEntryTable(byInvoiceDate *orderedmap.OrderedMap[time.Time, []model.LogEntry], ...)
- func PrintLogEntryTable(entries []model.LogEntry)
- func PrintProjectInvoicesTable(invoices []model.ProjectInvoice)
- func PrintProjects(projects []model.Project)
- func PrintWeeklyLogEntryTable(byWeek *orderedmap.OrderedMap[int64, []model.LogEntry])
- func ReadableDate(date time.Time) string
- func ReadableDateWithoutColor(date time.Time) string
- func ReadableEmpty() string
- func ReadableHours(hours float64) string
- func ReadableMoney(value float64) string
- func ReadableYearMonth(date time.Time) string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ColorSuccess = color.New(color.FgGreen).SprintfFunc() ColorError = color.New(color.FgRed).SprintfFunc() ColorDate = color.New(color.FgCyan).SprintfFunc() ColorMoney = color.New(color.FgGreen).SprintfFunc() ColorHours = color.New(color.FgGreen).SprintfFunc() ColorIdentifier = color.New(color.FgYellow).SprintfFunc() ColorProject = color.New(color.FgYellow).SprintfFunc() ColorTableHeader = color.New(color.FgHiBlack, color.Underline).SprintfFunc() ColorNull = color.New(color.FgHiBlack).SprintfFunc() )
Functions ¶
func FormatFloatMinDecimal ¶ added in v0.1.5
func PrintCombinedLogEntryTable ¶ added in v0.2.3
func PrintCombinedLogEntryTable(entries []model.CombinedLogEntry)
func PrintIncomeReportTable ¶ added in v0.2.1
func PrintIncomeReportTable(reports []report.MonthIncomeReport)
func PrintLogEntryTable ¶
func PrintProjectInvoicesTable ¶ added in v0.1.5
func PrintProjectInvoicesTable(invoices []model.ProjectInvoice)
func PrintProjects ¶
func ReadableDate ¶
func ReadableEmpty ¶
func ReadableEmpty() string
func ReadableHours ¶
func ReadableMoney ¶
func ReadableYearMonth ¶ added in v0.2.1
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.