Documentation
¶
Index ¶
- func Read(path string) ([]byte, error)
- func ReadJson[T any](path string, unmarshaler ...json.Unmarshaler) (T, error)
- func ReadLines(path string) ([]string, error)
- func ReadString(path string) (string, error)
- func Write(path string, data []byte) error
- func WriteJson[T any](path string, data T, indent ...string) error
- func WriteLines(path string, lines []string) error
- func WriteString(path, data string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadString ¶
func WriteLines ¶
func WriteString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.