Documentation ¶ Index ¶ func ParseUser(user string) (string, string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ParseUser ¶ func ParseUser(user string) (string, string, error) ParseUser takes a user string and parses it into user and group components. If no group is specified, the group returned will be empty. Returns an error if the input string is empty or contains more than one colon separator. Types ¶ This section is empty. Source Files ¶ View all Source files user.go Click to show internal directories. Click to hide internal directories.