We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f277884 commit 68b96f8Copy full SHA for 68b96f8
doc/transport.txt
@@ -79,7 +79,7 @@ configuration. The example programs use the code
79
// conf is a string contain the path to a JSON configuration
80
// file.
81
var id = new(core.Identity)
82
- data, err := ioutil.ReadFile(conf)
+ data, err := os.ReadFile(conf)
83
if err != nil {
84
exlib.Err(1, err, "reading config file")
85
}
0 commit comments