go.go.types
1.26.10.1
dotnet add package go.go.types --version 1.26.10.1
NuGet\Install-Package go.go.types -Version 1.26.10.1
<PackageReference Include="go.go.types" Version="1.26.10.1" />
<PackageVersion Include="go.go.types" Version="1.26.10.1" />
<PackageReference Include="go.go.types" />
paket add go.go.types --version 1.26.10.1
#r "nuget: go.go.types, 1.26.10.1"
#:package go.go.types@1.26.10.1
#addin nuget:?package=go.go.types&version=1.26.10.1
#tool nuget:?package=go.go.types&version=1.26.10.1
go.go.types
C# package converted from the Go standard library by go2cs.
From C#, call this package through the static class go.go.types_package; see Consuming converted Go from C#.
Package types declares the data types and implements the algorithms for type-checking of Go packages. Use [Config.Check] to invoke the type checker for a package. Alternatively, create a new type checker with [NewChecker] and invoke it incrementally by calling [Checker.Files].
Type-checking consists of several interdependent phases:
Name resolution maps each identifier ([ast.Ident]) in the program to the symbol ([Object]) it denotes. Use the Defs and Uses fields of [Info] or the [Info.ObjectOf] method to find the symbol for an identifier, and use the Implicits field of [Info] to find the symbol for certain other kinds of syntax node.
Constant folding computes the exact constant value ([constant.Value]) of every expression ([ast.Expr]) that is a compile-time constant. Use the Types field of [Info] to find the results of constant folding for an expression.
Type deduction computes the type ([Type]) of every expression ([ast.Expr]) and checks for compliance with the language specification. Use the Types field of [Info] for the results of type deduction.
Applications that need to type-check one or more complete packages of Go source code may find it more convenient not to invoke the type checker directly but instead to use the Load function in package golang.org/x/tools/go/packages.
For a tutorial, see https://go.dev/s/types-tutorial.
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.
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
- go.bytes (>= 1.26.10.1)
- go.cmp (>= 1.26.10.1)
- go.container.heap (>= 1.26.10.1)
- go.errors (>= 1.26.10.1)
- go.fmt (>= 1.26.10.1)
- go.go.ast (>= 1.26.10.1)
- go.go.constant (>= 1.26.10.1)
- go.go.parser (>= 1.26.10.1)
- go.go.token (>= 1.26.10.1)
- go.go.version (>= 1.26.10.1)
- go.internal.godebug (>= 1.26.10.1)
- go.internal.goversion (>= 1.26.10.1)
- go.internal.types.errors (>= 1.26.10.1)
- go.io (>= 1.26.10.1)
- go.iter (>= 1.26.10.1)
- go.lib (>= 1.26.10.1)
- go.math (>= 1.26.10.1)
- go.os (>= 1.26.10.1)
- go.path.filepath (>= 1.26.10.1)
- go.runtime (>= 1.26.10.1)
- go.slices (>= 1.26.10.1)
- go.sort (>= 1.26.10.1)
- go.strconv (>= 1.26.10.1)
- go.strings (>= 1.26.10.1)
- go.sync (>= 1.26.10.1)
- go.sync.atomic (>= 1.26.10.1)
- go.unicode (>= 1.26.10.1)
- go.unicode.utf8 (>= 1.26.10.1)
- go.unsafe (>= 1.26.10.1)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on go.go.types:
| Package | Downloads |
|---|---|
|
go.go.internal.gcimporter
go.internal.gcimporter (net10.0 - Release) -- C# project converted from Go source |
|
|
go.go.internal.gccgoimporter
go.internal.gccgoimporter (net10.0 - Release) -- C# project converted from Go source |
|
|
go.go.internal.srcimporter
go.internal.srcimporter (net10.0 - Release) -- C# project converted from Go source |
|
|
go.go.importer
go.importer (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.1 | 77 | 10/26/2026 |
| 1.24.13.7 | 120 | 10/14/2026 |
| 1.24.13.6 | 108 | 10/12/2026 |
| 1.24.13.5 | 117 | 10/9/2026 |
| 1.24.13.4 | 122 | 10/6/2026 |
| 1.24.13.3 | 132 | 10/2/2026 |
| 1.24.13.2 | 132 | 9/24/2026 |
| 1.24.13.1 | 131 | 9/24/2026 |
| 1.23.12.3 | 159 | 9/8/2026 |
| 1.23.12.2 | 150 | 8/29/2026 |
| 1.23.12.1 | 155 | 8/26/2026 |
| 1.23.1.7 | 177 | 8/23/2026 |
| 1.23.1.6 | 167 | 8/11/2026 |
| 1.23.1.5 | 179 | 8/9/2026 |
| 1.23.1.4 | 165 | 8/8/2026 |
| 1.23.1.3 | 191 | 8/4/2026 |
| 1.23.1.2 | 179 | 7/27/2026 |
| 1.23.1.1 | 211 | 7/14/2026 |