async

package
v2.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Async

func Async(name string, f func())

func Sync

func Sync(_ string, f func())

Types

type Goer

type Goer func(name string, f func())

type Spying

type Spying struct {
	CallCount int
	Calls     []string
	// contains filtered or unexported fields
}

func NewSpying

func NewSpying(g Goer) *Spying

func (*Spying) Go

func (s *Spying) Go(name string, f func())

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL