Source File
aliases.go
Belonging Package
golang.org/x/tools/internal/aliases
// Copyright 2024 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.package aliasesimport ()// New creates a new TypeName in Package pkg that// is an alias for the type rhs.func ( token.Pos, *types.Package, string, types.Type, []*types.TypeParam) *types.TypeName {:= types.NewTypeName(, , , nil)types.NewAlias(, ).SetTypeParams()return}
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)