Commit 737d496
Proxy: Replace deprecated io/ioutil with io package
The io/ioutil package has been deprecated since Go 1.16. Replace all
usages with their io package equivalents:
- ioutil.ReadAll -> io.ReadAll
- ioutil.Discard -> io.Discard
Files changed:
- internal/utils/utils.go
- internal/logger/log.go
- internal/protocol/rtc.go
- internal/protocol/http.go1 parent 913b773 commit 737d496
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
| |||
224 | 223 | | |
225 | 224 | | |
226 | 225 | | |
227 | | - | |
| 226 | + | |
228 | 227 | | |
229 | 228 | | |
230 | 229 | | |
| |||
0 commit comments