Documentation ¶
Overview ¶
Package datautils is a collection of handy text manipulation tools.
Index ¶
- func CountTrue(s []bool) int
- func DefaultApp(version, date, goVersion string) *cli.App
- func Intervals2Func(rs []Interval) func(int64) bool
- func IsNotWhite(s string) bool
- func IsWhite(s string) bool
- func Max(x, y int64) int64
- func ParseRFCDate(timeString string) time.Time
- func StdinSource() <-chan string
- func StdoutSink(src <-chan string)
- func TransformPipe(src <-chan string, transform func(string) string) <-chan string
- func TransformStdin(c *cli.Context, transform func(string) string) error
- type Interval
- type List
- type Pair
- type Pairs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseRFCDate ¶
ParseRFCDate parses a date string in RFC3339 format. On failure, the current time will be returned.
func TransformPipe ¶
TransformPipe TODO
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.