iohelper

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: Apache-2.0 Imports: 6 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileExistsAndIsReadable

func FileExistsAndIsReadable(filename string) bool

func MustOpenFileForAppending

func MustOpenFileForAppending(filename string) io.WriteCloser

func MustOpenFileForReading

func MustOpenFileForReading(filename string) operating.ReadCloserAt

func MustOpenFileForWriting

func MustOpenFileForWriting(filename string) io.WriteCloser

func MustReadLinesFromFile

func MustReadLinesFromFile(filename string) []string

func OpenFileForAppending

func OpenFileForAppending(filename string) (io.WriteCloser, error)

func OpenFileForReading

func OpenFileForReading(filename string) (operating.ReadCloserAt, error)

func OpenFileForWriting

func OpenFileForWriting(filename string) (io.WriteCloser, error)

func ReadLinesFromFile

func ReadLinesFromFile(filename string) ([]string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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