listgroups_stub.go 386 B

12345678910111213141516171819
  1. // Copyright 2021 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. //go:build android || (js && !wasm)
  5. package user
  6. import (
  7. "errors"
  8. )
  9. func init() {
  10. groupListImplemented = false
  11. }
  12. func listGroups(*User) ([]string, error) {
  13. return nil, errors.New("user: list groups not implemented")
  14. }