Documentation ¶
Index ¶
- func Flow(fs ...func(*Chain) (interface{}, error)) func(interface{}, error) (c *Chain)
- type Chain
- func (c *Chain) Fail(f func(err error)) *Chain
- func (c *Chain) GetBool() bool
- func (c *Chain) GetError() error
- func (c *Chain) GetFloat32() float32
- func (c *Chain) GetFloat64() float64
- func (c *Chain) GetInt() int
- func (c *Chain) GetInt32() int32
- func (c *Chain) GetInt64() int64
- func (c *Chain) GetMapStringInterface() map[string]interface{}
- func (c *Chain) GetMapStringString() map[string]string
- func (c *Chain) GetSliceInterface() []interface{}
- func (c *Chain) GetSliceString() []string
- func (c *Chain) GetString() string
- func (c *Chain) GetVal() interface{}
- func (c *Chain) Next(f func(c *Chain) (interface{}, error)) *Chain
- func (c *Chain) NextWithFail(f func(c *Chain) (interface{}, error)) *Chain
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Chain ¶
type Chain struct {
// contains filtered or unexported fields
}
func (*Chain) GetMapStringInterface ¶
GetMapStringInterface get the value in map[string]interface{}
func (*Chain) GetMapStringString ¶
GetMapStringString get the value in map[string]string
func (*Chain) GetSliceInterface ¶
func (c *Chain) GetSliceInterface() []interface{}
GetSliceInterface get the value in []interface{}
func (*Chain) GetSliceString ¶
GetSliceString get the value in []string
Click to show internal directories.
Click to hide internal directories.