typeshelper

package
v0.0.0-...-89df5f7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package typeshelper implements utility functions for the go/types package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFuncSignature

func GetFuncSignature(t types.Type) *types.Signature

GetFuncSignature returns the signature of a function or an anonymous function.

func IsIterType

func IsIterType(t types.Type) bool

IsIterType returns true if the underlying type is an iterator func:

func(func() bool) func(func(K) bool) func(func(K, V) bool)

See more at https://tip.golang.org/doc/go1.23.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL