package
0.0.0-20231215233255-5eee6075d0e8
Repository: https://github.com/crawl/go-sequell.git
Documentation: pkg.go.dev
# Functions
FindSeparator finds the first non-escaped occurrence of the xlog separator ':' in the string and returns the byte offset of that occurrence, or -1 if the separator is not present in the string.
IsKeyHidden checks if key is a *hidden* xlog fieldname.
IsPotentialXlogLine returns true if line looks like it might be a valid Xlog line.
NewReader creates a new Reader for the given absolute path, and dbFilename.
Parse parses the given xlog line into an Xlog object.
QuoteValue quotes an Xlog value field by escaping embedded ":" as "::".
UnquoteValue unquotes an Xlog value, replacing "::" with ":".
# Variables
ErrNoFile means an attempt was made to read a missing xlog.
# Structs
A ParseError is an error in parsing an xlog line.
A Reader reads xlog entries from a logfile.
# Type aliases
An Xlog is a mapping of xlog keys to values, where both keys and values are strings.