option

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0, 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