thriftrw: go.uber.org/thriftrw/internal/curry Index | Files

package curry

import "go.uber.org/thriftrw/internal/curry"

Index

Package Files

one.go

func One Uses

func One(f interface{}, a interface{}) interface{}

One wraps the given function to require one less argument, passing in the given value instead. The value MUST NOT be nil.

BUG(abg): Variadic functions are not supported.

Bugs

Variadic functions are not supported.

Package curry imports 2 packages (graph) and is imported by 4 packages. Updated 2020-01-19. Refresh now. Tools for package owners.