diff options
| author | Sandro Jäckel <sandro.jaeckel@sap.com> | 2022-10-26 15:23:04 +0200 |
|---|---|---|
| committer | Sandro Jäckel <sandro.jaeckel@sap.com> | 2022-10-28 12:55:16 +0200 |
| commit | 8b38a040830109f19550e7329b82ec5caf76b321 (patch) | |
| tree | 13ecc54219914102f69fb59e005a836a88f78f5c /util/render_template.go | |
| parent | 4f67f4c0a59a850321b37a154efc9bde60539ca8 (diff) | |
| download | go-schwift-8b38a040830109f19550e7329b82ec5caf76b321.tar.gz | |
Fix linting errors
Diffstat (limited to 'util/render_template.go')
| -rwxr-xr-x | util/render_template.go | 4 |
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) |
