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.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.