Skip to content

Commit 933c84c

Browse files
committed
Fix for go1.15
1 parent a0d7dbc commit 933c84c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/markup/csv/csv.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import (
99
"bytes"
1010
"html"
1111
"io"
12+
"io/ioutil"
1213
"strconv"
1314

1415
"code.gitea.io/gitea/modules/csv"
@@ -77,7 +78,7 @@ func (Renderer) Render(ctx *markup.RenderContext, input io.Reader, output io.Wri
7778
var tmpBlock = bufio.NewWriter(output)
7879

7980
// FIXME: don't read all to memory
80-
rawBytes, err := io.ReadAll(input)
81+
rawBytes, err := ioutil.ReadAll(input)
8182
if err != nil {
8283
return err
8384
}

0 commit comments

Comments
 (0)