toolz

package module
v0.0.0-...-a652c79 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2018 License: MIT Imports: 0 Imported by: 0

README

Toolz

Toolz provides collection of different tools

Get The Library

go get github.com/avid/toolz

Using toolz

log.HandyFile

HandyFile is a simple wrapper for os.File providing some additional methods and sync wrtites.

file, err = writer.NewHandyFile("path_to_file")

HandyFile.Reload() closes and opens os.File. It is useful with system logrotate, ex. by signal

HandyFile.Rotate() renames current file with date_time suffix and opens new with name provided on init.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func About

func About() string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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