groupbydate

package
v0.0.0-...-632d234 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(args []string, stdin io.Reader) error
Example
package main

import (
	"strings"

	"github.com/frioux/leatherman/internal/tool/allpurpose/groupbydate"
)

func main() {

	r := strings.NewReader(`2012-12-12T12:12:12.000Z
2012-12-12T13:12:12.000Z
2012-12-12T12:14:12.000Z
2012-12-12T12:12:22.000Z`)

	groupbydate.Run([]string{"group-by-date"}, r)
}
Output:

2012-12-12T00:00:00Z,4

Types

This section is empty.

Jump to

Keyboard shortcuts

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