user

package
v0.0.0-...-375d9ab Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

This file has automatically been generated on Wed Feb 26 15:50:47 +05 2020. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Current

func Current() (*user.User, error)

func Lookup

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

func LookupGroup

func LookupGroup(name string) (*user.Group, error)

func LookupGroupId

func LookupGroupId(gid string) (*user.Group, error)

func LookupId

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

func UnknownGroupErrorError

func UnknownGroupErrorError(e user.UnknownGroupError) string

func UnknownGroupIdErrorError

func UnknownGroupIdErrorError(e user.UnknownGroupIdError) string

func UnknownUserErrorError

func UnknownUserErrorError(e user.UnknownUserError) string

func UnknownUserIdErrorError

func UnknownUserIdErrorError(e user.UnknownUserIdError) string

func UserGroupIds

func UserGroupIds(u *user.User) ([]string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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