parameter

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: Zlib Imports: 0 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Callable added in v1.0.2

type Callable func(p *Parameter)

type Parameter

type Parameter struct {
	Name  string
	Value interface{}
}

func New

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

type Parameters

type Parameters []*Parameter

func (Parameters) Find

func (this Parameters) Find(name string) interface{}

func (Parameters) ForEach added in v1.0.2

func (this Parameters) ForEach(callable Callable)

遍历

func (Parameters) String

func (this Parameters) String(name string) string

Jump to

Keyboard shortcuts

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