go.lib
1.26.10.1
See the version list below for details.
dotnet add package go.lib --version 1.26.10.1
NuGet\Install-Package go.lib -Version 1.26.10.1
<PackageReference Include="go.lib" Version="1.26.10.1" />
<PackageVersion Include="go.lib" Version="1.26.10.1" />
<PackageReference Include="go.lib" />
paket add go.lib --version 1.26.10.1
#r "nuget: go.lib, 1.26.10.1"
#:package go.lib@1.26.10.1
#addin nuget:?package=go.lib&version=1.26.10.1
#tool nuget:?package=go.lib&version=1.26.10.1
go.lib — go2cs core runtime library
go.lib is the hand-written C# runtime that implements Go language semantics for code converted by go2cs: slices, maps, channels, Go strings, arrays, the heap box that stands for a Go pointer, nil, the builtin functions (append, len, make, panic, recover and the rest), and the Go numeric type aliases. Consuming converted Go from C# shows how each of them looks from C#.
Every go2cs-converted package (go.fmt, go.strings, …) depends on go.lib. It is pulled in automatically when you install any converted package — you normally do not reference it directly.
For a Native AOT or trimmed publish, go.lib sets TrimMode to partial unless your project sets a trim mode itself: go.lib reads the layout of Go structs by reflection, and a full trim removes the field metadata it needs.
License
MIT. See the go2cs repository.
Artwork licensed under Creative Commons Attribution 3.0; see artwork attribution.
| 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
- No dependencies.
NuGet packages (393)
Showing the top 5 NuGet packages that depend on go.lib:
| Package | Downloads |
|---|---|
|
go.internal.goarch
internal.goarch (net10.0 - Release) -- C# project converted from Go source |
|
|
go.internal.cpu
internal.cpu (net10.0 - Release) -- C# project converted from Go source |
|
|
go.unsafe
unsafe (net10.0 - Release) -- C# project converted from Go source |
|
|
go.internal.abi
internal.abi (net10.0 - Release) -- C# project converted from Go source |
|
|
go.internal.bytealg
internal.bytealg (net10.0 - Release) -- C# project converted from Go source |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.26.10.3 | 3,943 | 11/9/2026 |
| 1.26.10.2 | 4,090 | 11/4/2026 |
| 1.26.10.1 | 3,883 | 10/26/2026 |
| 1.24.13.7 | 2,954 | 10/14/2026 |
| 1.24.13.6 | 2,886 | 10/12/2026 |
| 1.24.13.5 | 2,914 | 10/9/2026 |
| 1.24.13.4 | 2,927 | 10/6/2026 |
| 1.24.13.3 | 2,920 | 10/2/2026 |
| 1.24.13.2 | 2,835 | 9/24/2026 |
| 1.24.13.1 | 2,841 | 9/24/2026 |
| 1.23.12.3 | 2,906 | 9/8/2026 |
| 1.23.12.2 | 2,723 | 8/29/2026 |
| 1.23.12.1 | 2,796 | 8/26/2026 |
| 1.23.1.7 | 4,680 | 8/23/2026 |
| 1.23.1.6 | 3,819 | 8/11/2026 |
| 1.23.1.5 | 3,843 | 8/9/2026 |
| 1.23.1.4 | 3,813 | 8/8/2026 |
| 1.23.1.3 | 4,430 | 8/4/2026 |
| 1.23.1.2 | 4,653 | 7/27/2026 |
| 1.23.1.1 | 4,713 | 7/14/2026 |