first

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, xs []interface{}, f Thunk) (y interface{}, err error)

func RunF

func RunF(ctx context.Context, fs []ThunkNoArg) (y interface{}, err error)

Types

type Thunk

type Thunk func(context.Context, interface{}) (interface{}, error)

type ThunkNoArg

type ThunkNoArg func(context.Context) (interface{}, error)

Jump to

Keyboard shortcuts

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