Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Module for fx.
Functions ¶
func IsNotExist ¶ added in v1.386.0
IsNotExist if the error is os.ErrNotExist.
func PathExists ¶ added in v1.386.0
PathExists for the path provided.
func ReadBase64File ¶ added in v1.193.0
ReadBase64File for the path provided.
Types ¶
type FileSystem ¶ added in v1.375.0
type FileSystem interface { // ReadFile for the path provided. ReadFile(path string) (string, error) // PathExists for the path provided. PathExists(path string) bool // IsNotExist whether the error is os.ErrNotExist. IsNotExist(err error) bool }
FileSystem borrows concepts from io/fs.
Click to show internal directories.
Click to hide internal directories.