We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e40ebd2 commit 6ccbf21Copy full SHA for 6ccbf21
list.go
@@ -2,7 +2,6 @@ package evdev
2
3
import (
4
"fmt"
5
- "io/ioutil"
6
"os"
7
)
8
@@ -19,7 +18,7 @@ func ListDevicePaths() ([]InputPath, error) {
19
18
20
basePath := "/dev/input"
21
22
- files, err := ioutil.ReadDir(basePath)
+ files, err := os.ReadDir(basePath)
23
if err != nil {
24
return list, err
25
}
0 commit comments