github.com/geraldss/go/src@v0.0.0-20210511222824-ac7d0ebfc235/os/user/listgroups_aix.go (about)

     1  // Copyright 2019 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  
     5  // +build cgo,!osusergo
     6  
     7  package user
     8  
     9  import "fmt"
    10  
    11  func listGroups(u *User) ([]string, error) {
    12  	return nil, fmt.Errorf("user: list groups for %s: not supported on AIX", u.Username)
    13  }