go.os.user
1.23.12.2
dotnet add package go.os.user --version 1.23.12.2
NuGet\Install-Package go.os.user -Version 1.23.12.2
<PackageReference Include="go.os.user" Version="1.23.12.2" />
<PackageVersion Include="go.os.user" Version="1.23.12.2" />
<PackageReference Include="go.os.user" />
paket add go.os.user --version 1.23.12.2
#r "nuget: go.os.user, 1.23.12.2"
#:package go.os.user@1.23.12.2
#addin nuget:?package=go.os.user&version=1.23.12.2
#tool nuget:?package=go.os.user&version=1.23.12.2
go.os.user
C# package converted from the Go standard library by go2cs.
Package user allows user account lookups by name or id.
For most Unix systems, this package has two internal implementations of resolving user and group ids to names, and listing supplementary group IDs. One is written in pure Go and parses /etc/passwd and /etc/group. The other is cgo-based and relies on the standard C library (libc) routines such as getpwuid_r, getgrnam_r, and getgrouplist.
When cgo is available, and the required routines are implemented in libc for a particular platform, cgo-based (libc-backed) code is used. This can be overridden by using osusergo build tag, which enforces the pure Go implementation.
Copyright 2009 The Go Authors. All rights reserved. This C# package is converted from Go standard library source; use of that source is governed by a BSD-style license that can be found in the LICENSE file. The go2cs conversion itself is distributed under the MIT license.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- go.bufio (>= 1.23.12.2)
- go.bytes (>= 1.23.12.2)
- go.errors (>= 1.23.12.2)
- go.fmt (>= 1.23.12.2)
- go.internal.syscall.windows (>= 1.23.12.2)
- go.internal.syscall.windows.registry (>= 1.23.12.2)
- go.io (>= 1.23.12.2)
- go.lib (>= 1.23.12.2)
- go.os (>= 1.23.12.2)
- go.runtime (>= 1.23.12.2)
- go.strconv (>= 1.23.12.2)
- go.strings (>= 1.23.12.2)
- go.sync (>= 1.23.12.2)
- go.syscall (>= 1.23.12.2)
- go.unsafe (>= 1.23.12.2)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on go.os.user:
| Package | Downloads |
|---|---|
|
go.archive.tar
archive.tar (net10.0 - Release) -- C# project converted from Go source |
GitHub repositories
This package is not used by any popular GitHub repositories.