aboutsummaryrefslogtreecommitdiff
path: root/util/render_template.go
diff options
context:
space:
mode:
Diffstat (limited to 'util/render_template.go')
-rwxr-xr-xutil/render_template.go4
1 files changed, 2 insertions, 2 deletions
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)