userlookup

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2015 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Lookup

func Lookup(uid string) (*user.User, error)

Lookup checks if the given username or uid is present in /etc/passwd and returns the user struct. If the username is not found, an error is returned. Credit to @creak, https://github.com/docker/docker/pull/1096

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL