tlflag

package
Version: v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: MIT Imports: 14 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	OpenFileWriter = func(n string, f int, m os.FileMode) (io.Writer, error) {
		return os.OpenFile(n, f, m)
	}

	OpenFileReader = func(n string, f int, m os.FileMode) (io.Reader, error) {
		return os.OpenFile(n, f, m)
	}

	CompressorBlockSize = compress.MB

	JSONDefaultTimeFormat = "2006-01-02T15:04:05.999999Z07:00"
)

Functions

func OpenReader added in v0.10.0

func OpenReader(src string) (rc io.ReadCloser, err error)

func OpenWriter added in v0.10.0

func OpenWriter(dst string) (wc io.WriteCloser, err error)

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL