lookup_unsupported.go 380 B

12345678910111213141516171819202122
  1. // +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris
  2. package user
  3. import "io"
  4. func GetPasswdPath() (string, error) {
  5. return "", ErrUnsupported
  6. }
  7. func GetPasswd() (io.ReadCloser, error) {
  8. return nil, ErrUnsupported
  9. }
  10. func GetGroupPath() (string, error) {
  11. return "", ErrUnsupported
  12. }
  13. func GetGroup() (io.ReadCloser, error) {
  14. return nil, ErrUnsupported
  15. }