package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Mar 20, 2022
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Await[T any] interface {
Await(T)
}
type AwaitTry[T any] interface {
Await(T, error)
}
type Default interface {
GoTo() GoTo
DontWait()
Continue()
Defer()
}
const (
GoToAwait GoTo = iota
GoToYield
GoToReturn
GoToContinue
)
type Return[T any] interface {
Return() T
}
type ReturnOpt[T any] interface {
Return() (T, bool)
}
type ReturnTry[T any] interface {
Return() (T, error)
}
type Yield[T any] interface {
Yield() T
}
type YieldOpt[T any] interface {
Yield() (T, bool)
}
type YieldTry[T any] interface {
Yield() (T, error)
}
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.