aboutsummaryrefslogtreecommitdiffstats
path: root/modules/markup/csv/csv.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/markup/csv/csv.go')
-rw-r--r--modules/markup/csv/csv.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/markup/csv/csv.go b/modules/markup/csv/csv.go
index 8a4df89511..e4b423d4f0 100644
--- a/modules/markup/csv/csv.go
+++ b/modules/markup/csv/csv.go
@@ -9,7 +9,6 @@ import (
"bytes"
"html"
"io"
- "io/ioutil"
"regexp"
"strconv"
@@ -87,7 +86,7 @@ func (Renderer) Render(ctx *markup.RenderContext, input io.Reader, output io.Wri
var tmpBlock = bufio.NewWriter(output)
// FIXME: don't read all to memory
- rawBytes, err := ioutil.ReadAll(input)
+ rawBytes, err := io.ReadAll(input)
if err != nil {
return err
}