Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BurntSushi/go-sumtype
/ types & classes
Types & classes
6 in github.com/BurntSushi/go-sumtype
⨍
Functions
37
◇
Types & classes
6
Struct
inexhaustiveError
inexhaustiveError is returned from check for each occurrence of inexhaustive case analysis in a Go type switch statement.
check.go:16
Struct
notFoundError
notFoundError corresponds to a declared sum type whose type definition could not be found in the same Go package.
def.go:24
Struct
notInterfaceError
notInterfaceError corresponds to a declared sum type that does not correspond to an interface.
def.go:34
Struct
sumTypeDecl
sumTypeDecl is a declaration of a sum type in a Go source file.
decl.go:16
Struct
sumTypeDef
sumTypeDef corresponds to the definition of a Go interface that is interpreted as a sum type. Its variants are determined by finding all types that im
def.go:45
Struct
unsealedError
unsealedError corresponds to a declared sum type whose interface is not sealed. A sealed interface requires at least one unexported method.
def.go:11