export

package
v1.0.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Csv

func Csv(wlogs gitwrk.WorkLogs, out io.Writer)

Csv is responsible for rendering output when '-o csv' is set.

func JSON

func JSON(wlogs gitwrk.WorkLogs, out io.Writer)

JSON render the collection of work logs as JSON. For better control over JSON format and names, we're mapping WorkLog into jsonRecord first. Then we're marshalling jsonRecords.

func Markdown added in v1.0.10

func Markdown(wlogs gitwrk.WorkLogs, out io.Writer)

Markdown render work logs as markdown text with table.

func Table

func Table(wlogs gitwrk.WorkLogs, out io.Writer)

Table render the collection of work logs into table.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL