aboutsummaryrefslogtreecommitdiff
path: root/cmd/furl
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2022-08-05 10:26:59 +0100
committerGitHub <noreply@github.com>2022-08-05 10:26:59 +0100
commitc8935fb53f122b367eda61ec7811c406193d29ba (patch)
tree928c78461943f180dde6b2b4e4cd1d26792248f1 /cmd/furl
parent1b7f84250a46b401eccb89acafdef1b379f2dbc0 (diff)
Do not use `ioutil` as it is deprecated (#2625)
Diffstat (limited to 'cmd/furl')
-rw-r--r--cmd/furl/main.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/furl/main.go b/cmd/furl/main.go
index 75e22338..f59f9c8c 100644
--- a/cmd/furl/main.go
+++ b/cmd/furl/main.go
@@ -9,7 +9,6 @@ import (
"encoding/pem"
"flag"
"fmt"
- "io/ioutil"
"net/url"
"os"
@@ -30,7 +29,7 @@ func main() {
os.Exit(1)
}
- data, err := ioutil.ReadFile(*requestKey)
+ data, err := os.ReadFile(*requestKey)
if err != nil {
panic(err)
}