Black Lives Matter. Support the Equal Justice Initiative.

Source file src/os/user/listgroups_aix.go

Documentation: os/user

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

View as plain text