]> Cypherpunks.ru repositories - gorecfile.git/blob - README
7d38e9467e33b97d1a80beabdc7b3f1ea9212419
[gorecfile.git] / README
1 GNU recutils'es recfile parser/writer on pure Go.
2 recfiles are human-editable, plaintext databases. This library allows
3 you to read records and their fields from it. Look for cmd/gorecsel as
4 an example usage.
5
6 * iterate through the records and their fields
7 * ignore comments
8 * support continuation lines (\$) and multilines (^+)
9
10 Limitations:
11 * leading spaces in the first line of the value are ignored
12 * trailing backslash at the end of lines is followed by space
13
14 Also there is go.cypherpunks.ru/recfile/slog.NewRecfileHandler log/slog
15 handler to write your logs in recfile format directly.
16
17 It is free software: see the file COPYING for copying conditions.