types

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ContextType *types.Interface

ContextType is the types.Type for the context.Context interface

View Source
var ErrType types.Type

ErrType is the types.Type for the error interface

Functions

func IsContextType

func IsContextType(t types.Type) bool

IsContextType determines if the given type is context.Context

func IsErrorType

func IsErrorType(t types.Type) bool

IsErrorType determines if the given type implements the Error interface

Types

This section is empty.

Jump to

Keyboard shortcuts

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