option

package
v0.0.0-...-7d1f701 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: MIT, 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