Go wrapper for interacting with recutils with some niceties for the modern world like providing structured return values and errors.
See the example folder to run sample code that tests all currently-implemented functions.
TODO; mdb2rec may not be implemented.
recinfo, err = recfile.Inf()// type SelectionParams struct {
// 	Type       string
// 	Expression string
// 	Quick      string
// 	Number     []int
// 	Random     int
// 	Join       string
// }
params = rec.SelectionParams{Type: "books", Expression: "Title='Junkyard Jam Band'"}
options = rec.DefaultOptions
recordSet = recfile.Sel(params, options)
recordSeterror = recordSet.Error// type OptionFlags struct {
//	Force           bool
//	NoExternal      bool
//	NoAuto          bool
//	CaseInsensitive bool
//	Unique          bool
// }
options = rec.OptionFlags{CaseInsensitive: true}
newRecordSet = recordSet.Fix(rec.Check, rec.DefaultOptions)
newRecfile = recfile.Fix(rec.Check, rec.DefaultOptions)
recfileError = newRecfile.ErrornewRecordSet = recordSet.Del(params, rec.DefaultOptions, rec.Remove)
newRecfile = recfile.Del(params, options, rec.Comment) anotherRecordSet = recordSet.Ins(newRecordSet, params, options)
newRecfile = recfile.Ins(newRecordSet, params, options)fields = []string{"Status"}
action = rec.FieldAction{ActionType: "SetAdd", ActionValue: "Read"}
newRecfile := recFile.Set(fields, action, params, options)templateOutput, err = recordSet.Fmt("{{Title}}: {{Subtitle}}", false)
template2Output, err = recordSet.Fmt("template.txt", true)