Documentation ¶
Index ¶
- Constants
- func ProjectPrint(ws []dto.Project, w io.Writer) error
- func ProjectPrintQuietly(ws []dto.Project, w io.Writer) error
- func ProjectPrintWithTemplate(format string) func([]dto.Project, io.Writer) error
- func ProjectsCSVPrint(projects []dto.Project, out io.Writer) error
- func ProjectsJSONPrint(t []dto.Project, w io.Writer) error
- func TagPrint(ws []dto.Tag, w io.Writer) error
- func TagPrintQuietly(ws []dto.Tag, w io.Writer) error
- func TagPrintWithTemplate(format string) func([]dto.Tag, io.Writer) error
- func TimeEntriesCSVPrint(timeEntries []dto.TimeEntry, out io.Writer) error
- func TimeEntriesJSONPrint(t []dto.TimeEntry, w io.Writer) error
- func TimeEntriesPrint(showTasks bool) func([]dto.TimeEntry, io.Writer) error
- func TimeEntriesPrintQuietly(timeEntries []dto.TimeEntry, w io.Writer) error
- func TimeEntriesPrintWithTemplate(format string) func([]dto.TimeEntry, io.Writer) error
- func TimeEntriesPrintWithTimeFormat(format string, showTasks bool) func([]dto.TimeEntry, io.Writer) error
- func TimeEntryCSVPrint(t *dto.TimeEntry, w io.Writer) error
- func TimeEntryJSONPrint(t *dto.TimeEntry, w io.Writer) error
- func TimeEntryPrint(showTasks bool) func(*dto.TimeEntry, io.Writer) error
- func TimeEntryPrintQuietly(timeEntry *dto.TimeEntry, w io.Writer) error
- func TimeEntryPrintWithTemplate(format string) func(*dto.TimeEntry, io.Writer) error
- func UserJSONPrint(u dto.User, w io.Writer) error
- func UserPrint(users []dto.User, w io.Writer) error
- func UserPrintQuietly(users []dto.User, w io.Writer) error
- func UserPrintWithTemplate(format string) func([]dto.User, io.Writer) error
- func WorkspacePrint(wDefault string) func(ws []dto.Workspace, w io.Writer) error
- func WorkspacePrintQuietly(ws []dto.Workspace, w io.Writer) error
- func WorkspacePrintWithTemplate(format string) func([]dto.Workspace, io.Writer) error
Constants ¶
const ( TIME_FORMAT_FULL = "2006-01-02 15:04:05" TIME_FORMAT_SIMPLE = "15:04:05" )
Variables ¶
This section is empty.
Functions ¶
func ProjectPrint ¶
ProjectPrint will print more details
func ProjectPrintQuietly ¶
ProjectPrintQuietly will only print the IDs
func ProjectPrintWithTemplate ¶
ProjectPrintWithTemplate will print each worspace using the format string
func ProjectsCSVPrint ¶
ProjectsCSVPrint will print each time entry using the format string
func ProjectsJSONPrint ¶
ProjectsJSONPrint will print as JSON
func TagPrintQuietly ¶
TagPrintQuietly will only print the IDs
func TagPrintWithTemplate ¶
TagPrintWithTemplate will print each worspace using the format string
func TimeEntriesCSVPrint ¶
TimeEntriesCSVPrint will print each time entry using the format string
func TimeEntriesJSONPrint ¶
TimeEntriesJSONPrint will print as JSON
func TimeEntriesPrint ¶
TimeEntriesPrint will print more details
func TimeEntriesPrintQuietly ¶
TimeEntriesPrintQuietly will only print the IDs
func TimeEntriesPrintWithTemplate ¶
TimeEntriesPrintWithTemplate will print each time entry using the format string
func TimeEntriesPrintWithTimeFormat ¶
func TimeEntriesPrintWithTimeFormat(format string, showTasks bool) func([]dto.TimeEntry, io.Writer) error
TimeEntriesPrintWithTimeFormat will print more details
func TimeEntryCSVPrint ¶
TimeEntryCSVPrint will print as CSV
func TimeEntryJSONPrint ¶
TimeEntryJSONPrint will print as JSON
func TimeEntryPrint ¶
TimeEntryPrint will print more details
func TimeEntryPrintQuietly ¶
TimeEntryPrintQuietly will only print the IDs
func TimeEntryPrintWithTemplate ¶
TimeEntryPrintWithTemplate will print each time entry using the format string
func UserPrintQuietly ¶
UserPrintQuietly will only print the IDs
func UserPrintWithTemplate ¶
UserPrintWithTemplate will print each worspace using the format string
func WorkspacePrint ¶
WorkspacePrint will print more details
func WorkspacePrintQuietly ¶
WorkspacePrintQuietly will only print the IDs
Types ¶
This section is empty.