Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LookupUidGidBySpec ¶
LookupUidGidBySpec works the same way as LookupUserGroupBySpec but returns integer UID and GID values. This only works on Unix-like systems which support integral user and group IDs.
func LookupUserGroupBySpec ¶
LookupUserGroupBySpec returns the user and group specified by user:group string which can be of the format uid:gid (both numeric), username:groupname (both strings) or any combination of the two. A single string can be passed which will be treated as a username and the user's default group will be returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.