code: func NewUser(name string, gid int) *User {
  	loadConfig()
  
  	return &User{
  		Name:  name,
  		Dir:   path.Join(config.useradd.HOME, name),
  		Shell: config.useradd.SHELL,
  		UID:   -1,
  		GID:   gid,
  	}
  }
docs: // NewUser returns a new User with both fields "Dir" and "Shell" got from
  // the system configuration.