Documentation ¶
Index ¶
- Variables
- func AsyncAssert(t testing.TB, done chan Signal) *assert.Assertions
- func AsyncRun(f func()) (done chan Signal)
- func AsyncRunAtMost(t testing.TB, f func(), timeout time.Duration)
- func Merge[T any](base, patch T) (merged T)
- func SplitLines(s string) []string
- type Signal
- type StartStopper
- type Starter
- type Stopper
Constants ¶
This section is empty.
Variables ¶
View Source
var Ping = Signal{}
Functions ¶
func AsyncAssert ¶
func AsyncAssert(t testing.TB, done chan Signal) *assert.Assertions
func SplitLines ¶
SplitLines - method useful when iterating over lines in a string. It returns a slice of strings, each one being a single line. If the last couple of lines are newline characters, they are trimmed.
Types ¶
type StartStopper ¶
Click to show internal directories.
Click to hide internal directories.