Documentation ¶
Overview ¶
Package file contains utility methods for processing files
Index ¶
- func Read(path string) (string, error)
- func ReadAllCsvInts(path string, separator ...string) ([][]int, error)
- func ReadBytes(path string) ([]byte, error)
- func ReadCsvInts(path string, separator ...string) ([]int, error)
- func ReadLines(path string) ([]string, error)
- func ReadVectorMapFunc[T any](path string, f func(byte) (T, error)) (map[plane.Vector]T, error)
- func ReadVectors(path string, ch byte) ([]plane.Vector, plane.Vector, error)
- func ReadVectorsFunc(path string, f func(byte) bool) (map[byte][]plane.Vector, plane.Vector, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadVectorMapFunc ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.