From 8b38a040830109f19550e7329b82ec5caf76b321 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 26 Oct 2022 15:23:04 +0200 Subject: Fix linting errors --- util/render_template.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util') diff --git a/util/render_template.go b/util/render_template.go index 2898623..03a4628 100755 --- a/util/render_template.go +++ b/util/render_template.go @@ -23,14 +23,14 @@ package main import ( "encoding/json" "fmt" - "io/ioutil" + "io" "os" "strings" "text/template" ) func main() { - input, err := ioutil.ReadAll(os.Stdin) + input, err := io.ReadAll(os.Stdin) failIfError(err) sections := strings.SplitN(string(input), "\n---\n", 2) -- cgit v1.2.3