summaryrefslogtreecommitdiff
path: root/libgo/go/os/user/user.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/os/user/user.go')
-rw-r--r--libgo/go/os/user/user.go10
1 files changed, 7 insertions, 3 deletions
diff --git a/libgo/go/os/user/user.go b/libgo/go/os/user/user.go
index a0195377765..841f2263f95 100644
--- a/libgo/go/os/user/user.go
+++ b/libgo/go/os/user/user.go
@@ -9,12 +9,16 @@ import (
"strconv"
)
-var implemented = false // set to true by lookup_unix.go's init
+var implemented = true // set to false by lookup_stubs.go's init
// User represents a user account.
+//
+// On posix systems Uid and Gid contain a decimal number
+// representing uid and gid. On windows Uid and Gid
+// contain security identifier (SID) in a string format.
type User struct {
- Uid int // user id
- Gid int // primary group id
+ Uid string // user id
+ Gid string // primary group id
Username string
Name string
HomeDir string