writer

package
v1.9.3 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileWriter

type FileWriter struct{}

func (FileWriter) Close

func (fw FileWriter) Close(file *os.File) error

func (FileWriter) Create

func (fw FileWriter) Create(name string) (*os.File, error)

func (FileWriter) Write

func (fw FileWriter) Write(file *os.File, p []byte) error

type IFileWriter

type IFileWriter interface {
	Write(file *os.File, p []byte) error
	Create(name string) (*os.File, error)
	Close(file *os.File) error
}

Jump to

Keyboard shortcuts

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