We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37e0dac commit 8a16cf4Copy full SHA for 8a16cf4
2 files changed
user/go.mod
@@ -1,6 +1,6 @@
1
module github.com/moby/sys/user
2
3
-go 1.17
+go 1.18
4
5
require golang.org/x/sys v0.1.0
6
user/user.go
@@ -56,11 +56,11 @@ type IDMap struct {
56
Count int64
57
}
58
59
-func parseLine(line []byte, v ...interface{}) {
+func parseLine(line []byte, v ...any) {
60
parseParts(bytes.Split(line, []byte(":")), v...)
61
62
63
-func parseParts(parts [][]byte, v ...interface{}) {
+func parseParts(parts [][]byte, v ...any) {
64
if len(parts) == 0 {
65
return
66
0 commit comments