user/user.go
func LookupUser(name string) (*User, error) {
	entries, err := LookupInUser(U_NAME, name, 1)
	if err != nil {
		return nil, err
	}

	return entries[0], err
}
func LookupUser(name string) (*User, error) {
	entries, err := LookupInUser(U_NAME, name, 1)
	if err != nil {
		return nil, err
	}

	return entries[0], err
}
func LookupUser ( name string ) ( * User , error ) { entries , err := LookupInUser ( U_NAME , name , 1 ) if err != nil { return nil , err } return entries [ 0 ] , err }
// LookupUser looks up an user by name.
LookupUser looks up an user by name .