xtypes

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Identical

func Identical(x, y types.Type) bool

Identical reports whether x and y are identical types.

Unlike types.Identical(), it permits X and Y named types to be considered identical even if their addresses are different.

func Implements

func Implements(v types.Type, iface *types.Interface) bool

Implements reports whether type v implements iface.

Unlike types.Implements(), it permits X and Y named types to be considered identical even if their addresses are different.

Types

This section is empty.

Jump to

Keyboard shortcuts

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