file

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: May 28, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(filePath string) io.Writer

Get File write strategy

Types

type Strategy

type Strategy struct {
	File afero.File
	// contains filtered or unexported fields
}

Strategy logging strategy in the File

func (*Strategy) Write

func (s *Strategy) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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