Skip to content

Commit

Permalink
doc: remove mention of deprecated io/ioutil
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
  • Loading branch information
thaJeztah committed Nov 20, 2022
1 parent f277884 commit 68b96f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/transport.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ configuration. The example programs use the code
// conf is a string contain the path to a JSON configuration
// file.
var id = new(core.Identity)
data, err := ioutil.ReadFile(conf)
data, err := os.ReadFile(conf)
if err != nil {
exlib.Err(1, err, "reading config file")
}
Expand Down

0 comments on commit 68b96f8

Please sign in to comment.