Skip to content

Commit 68b96f8

Browse files
committed
doc: remove mention of deprecated io/ioutil
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent f277884 commit 68b96f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/transport.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ configuration. The example programs use the code
7979
// conf is a string contain the path to a JSON configuration
8080
// file.
8181
var id = new(core.Identity)
82-
data, err := ioutil.ReadFile(conf)
82+
data, err := os.ReadFile(conf)
8383
if err != nil {
8484
exlib.Err(1, err, "reading config file")
8585
}

0 commit comments

Comments
 (0)