type EntryMap … type UsersAndGroups … // ID is a NO-OP on non-Linux. func (*EntryMap) ID(string) *int64 { … } // String is NO-OP on non-Linux. func (*EntryMap) String() string { … } // AddUsersAndGroups is a NO-OP on non-Linux. func AddUsersAndGroups() (*UsersAndGroups, error) { … } // RemoveUsersAndGroups is a NO-OP on non-Linux. func RemoveUsersAndGroups() error { … } // UpdatePathOwnerAndPermissions is a NO-OP on non-Linux. func UpdatePathOwnerAndPermissions(path string, uid, gid int64, perms uint32) error { … } // UpdatePathOwner is a NO-OP on non-Linux. func UpdatePathOwner(dirPath string, uid, gid int64) error { … }