option

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	Name() string
	Value() interface{}
}

type Option

type Option struct {
	// contains filtered or unexported fields
}

func New

func New(name string, value interface{}) *Option

func (*Option) Name

func (o *Option) Name() string

func (*Option) Value

func (o *Option) Value() interface{}

Jump to

Keyboard shortcuts

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