Documentation
¶
Index ¶
- func AppendLine(path string, value interface{}) (int64, error)
- func AppendRawLine(path string, line []byte) (int64, error)
- func FileSize(path string) (int64, error)
- func ReadJSON(path string, dst interface{}) error
- func Scan(path string, fn func(line []byte) error) error
- func WriteJSON(path string, value interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendLine ¶
AppendLine appends a single JSON-encoded line and returns the resulting file size.
func AppendRawLine ¶
AppendRawLine appends a raw JSON line and returns the resulting file size.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.