Versions in this module Expand all Collapse all v1 v1.3.14 Sep 13, 2023 Changes in this version + type Passwd struct + FilePath string + Mapping map[string]*PasswdItem + func New(filepath string) *Passwd + func (p *Passwd) Get(user string) (*PasswdItem, error) + func (p *Passwd) GetGID(user string) (int, error) + func (p *Passwd) GetHome(user string) (string, error) + func (p *Passwd) GetShell(user string) (string, error) + func (p *Passwd) GetUID(user string) (int, error) + func (p *Passwd) Length() int + func (p *Passwd) Load() error + type PasswdItem struct + GID int + Gecos string + Home string + Pass string + Shell string + UID int + User string