Upstream gocarina/gocsv state of the touched files before ddaa038afb

This commit is contained in:
upstream committed 2026-10-02 16:20:31 +02:00
1 parent 5f7829feee
commit 391e8f0876
3 files changed
+321 -9

No files matched your search

-9
View File
@@ -149,15 +149,6 @@ func MarshalBytes(in interface{}) (out []byte, err error) {
return bufferString.Bytes(), nil
}
// MarshalBytesWithoutHeaders returns the CSV bytes from the interface.
func MarshalBytesWithoutHeaders(in interface{}) (out []byte, err error) {
bufferString := bytes.NewBuffer(out)
if err := MarshalWithoutHeaders(in, bufferString); err != nil {
return nil, err
}
return bufferString.Bytes(), nil
}
// Marshal returns the CSV in writer from the interface.
func Marshal(in interface{}, out io.Writer) (err error) {
writer := getCSVWriter(out)