a

package
v0.0.0-...-12092c6 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2022 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func F

func F(x interface{}) bool

F is an exported function, small enough to be inlined. It defines a local interface with an unexported method f, which will appear with a package-qualified method name in the export data.

func G

func G(x interface{}) bool

Like F but with the unexported interface method f defined via an embedded interface t. The compiler always flattens embedded interfaces so there should be no difference between F and G. Alas, currently G is not inlineable (at least via export data), so the issue is moot, here.

func H

func H(x interface{}) bool

Like G but now the embedded interface is declared at package level. This function is inlineable via export data. The export data representation is like for F.

Types

This section is empty.

Jump to

Keyboard shortcuts

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