fileWriter

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Error descriptions
	ErrCreatingFile  = "failed while creating file"
	ErrWritingToFile = "failed while writing to file"
	ErrClosingFile   = "failed while closing file"
)

Variables

This section is empty.

Functions

func NewWriteFile

func NewWriteFile(filename string) *writeFile

NewWriteFile creates a new file to write to

Types

type WriteFileError

type WriteFileError struct {
	Op string
	// contains filtered or unexported fields
}

func (*WriteFileError) Error

func (e *WriteFileError) Error() string

func (*WriteFileError) Unwrap

func (e *WriteFileError) Unwrap() error

Jump to

Keyboard shortcuts

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