]> Cypherpunks.ru repositories - gorecfile.git/blobdiff - w.go
Faster key-value parsing
[gorecfile.git] / w.go
diff --git a/w.go b/w.go
index 880c905cbdbf7b4ccb915ffd350af66b63354751..9057f8dbc33a33892098fd9bbb52345924489968 100644 (file)
--- a/w.go
+++ b/w.go
@@ -1,6 +1,6 @@
 /*
 recfile -- GNU recutils'es recfiles parser on pure Go
-Copyright (C) 2020-2021 Sergey Matveev <stargrave@stargrave.org>
+Copyright (C) 2020-2022 Sergey Matveev <stargrave@stargrave.org>
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
@@ -15,7 +15,6 @@ You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
-// GNU recutils'es recfiles parser on pure Go
 package recfile
 
 import (
@@ -31,7 +30,7 @@ func NewWriter(w io.StringWriter) *Writer {
        return &Writer{w}
 }
 
-func (w *Writer) RecordStart(fs ...Field) (written int, err error) {
+func (w *Writer) RecordStart() (written int, err error) {
        return w.w.WriteString("\n")
 }