types

package
v1.1.0-alpha2 Latest Latest
Warning

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

Go to latest
Published: May 1, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorType = types.Universe.Lookup("error").Type()
	PanicType = types.Universe.Lookup("panic").Type()
)

Functions

func GetBitSize

func GetBitSize(kind types.BasicKind) string

func HasContext

func HasContext(t types.Type) bool

func HasContextInParams

func HasContextInParams(params *types.Tuple) bool

func HasContextInSignature

func HasContextInSignature(sig *types.Signature) bool

func HasError

func HasError(t types.Type) bool

func HasErrorInResults

func HasErrorInResults(results *types.Tuple) bool

func HasPanic

func HasPanic(t types.Type) bool

func LookupFieldSig

func LookupFieldSig(name string, sig *types.Signature) *types.Var

Types

This section is empty.

Jump to

Keyboard shortcuts

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