Versions in this module Expand all Collapse all go1 go1.18.10 Jan 10, 2023 Changes in this version + type Group struct + Gid string + Name string + func LookupGroup(name string) (*Group, error) + func LookupGroupId(gid string) (*Group, error) + type UnknownGroupError string + func (e UnknownGroupError) Error() string + type UnknownGroupIdError string + func (e UnknownGroupIdError) Error() string + type UnknownUserError string + func (e UnknownUserError) Error() string + type UnknownUserIdError int + func (e UnknownUserIdError) Error() string + type User struct + Gid string + HomeDir string + Name string + Uid string + Username string + func Current() (*User, error) + func Lookup(username string) (*User, error) + func LookupId(uid string) (*User, error) + func (u *User) GroupIds() ([]string, error)