utils

package
v0.0.0-...-9b86b93 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCsvFormattedLines

func GetCsvFormattedLines(lines [][3]string) (results []string)

func GetFomattedLines

func GetFomattedLines(lines [][3]string) (results []string)

func GetMdFormattedLines

func GetMdFormattedLines(lines [][3]string) (results []string)

func SortByTime

func SortByTime(lines [][3]string, format24 bool) (sortedLines [][3]string)

Types

type TimeSlice

type TimeSlice []time.Time

func (TimeSlice) Len

func (p TimeSlice) Len() int

func (TimeSlice) Less

func (p TimeSlice) Less(i, j int) bool

func (TimeSlice) Swap

func (l TimeSlice) Swap(i, j int)

Jump to

Keyboard shortcuts

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