//
pkg.gl
Category
github.com/jmalloc/ax
internal
typeswitch
package
0.5.0
Repository:
https://github.com/jmalloc/ax.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
3
Files
268 SLOC
#
Functions
New
New returns a type-switch that dispatches to methods based on the concrete type of one of the parameters.
#
Structs
Case
Case represents a single case within a Switch.
Signature
Signature defines the criteria that must be met for methods to be included in a message set.
#
Type aliases
Switch
Switch dispatches calls to a method based on the concrete type of some interface value.