Documentation
¶
Overview ¶
Helpers for working with files and filesystems
Index ¶
- func IsTerminal() bool
- func MustReadAll(filename string) []byte
- func MustReadAllString(filename string) string
- func ReadAll(filename string) ([]byte, error)
- func ReadAllLines(filename string) ([]string, error)
- func ReadAllString(filename string) (string, error)
- func ReadFirstLine(filename string) (string, error)
- type RewriteFileSystem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsTerminal ¶
func IsTerminal() bool
func MustReadAll ¶
func MustReadAllString ¶
func ReadAllLines ¶ added in v1.6.13
func ReadAllString ¶
func ReadFirstLine ¶ added in v1.6.13
Types ¶
type RewriteFileSystem ¶
Click to show internal directories.
Click to hide internal directories.