options

package
Version: v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2021 License: Apache-2.0 Imports: 0 Imported by: 486

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply(params Params, opts []Opt)

Apply applies the given options to the given Params

Types

type Opt

type Opt func(opts Params)

Opt is an option that is applied to Params

type Params

type Params interface{}

Params represents a construct that holds a set of parameters

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL