go listgroups_stub 源码

  • 2022-07-15
  • 浏览 (905)

golang listgroups_stub 代码

文件路径:/src/os/user/listgroups_stub.go

// Copyright 2021 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build android || (js && !wasm)

package user

import (
	"errors"
)

func init() {
	groupListImplemented = false
}

func listGroups(*User) ([]string, error) {
	return nil, errors.New("user: list groups not implemented")
}

相关信息

go 源码目录

相关文章

go cgo_listgroups_unix 源码

go cgo_lookup_unix 源码

go cgo_unix_test 源码

go getgrouplist_darwin 源码

go getgrouplist_unix 源码

go listgroups_unix 源码

go listgroups_unix_test 源码

go lookup 源码

go lookup_android 源码

go lookup_plan9 源码

0  赞