package
Version:
v1.0.9
Opens a new window with list of versions in this module.
Published: Sep 24, 2015
License: GPL-2.0, Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
goutil & itertools


contains many generic utility functions and helpers:
- Iterate
- Filter
- Each
- Find
- Map
- Pair
- Range
- Zip
- CallChain
- GetSet
- Unpack
Documentation
¶
func CallChain(preverr error, functor interface{}, iargs ...interface{}) (responseInterfaceArray []interface{}, err error)
func CallChainP(preverr error, responseInterfaceArray []interface{}, functor interface{}, iargs ...interface{}) (err error)
func Empty() *unpackEmpty
func Unpack(packedValues []interface{}, unpackedPointers ...interface{}) (err error)
func UnpackArray(packedValues []interface{}, unpackedPointers []interface{}) (err error)
type Chain struct {
Error error
}
func (s *Chain) Call(functor interface{}, iargs ...interface{}) (responseInterfaceArray []interface{}, err error)
func (s *Chain) CallP(responseInterfaceArray []interface{}, functor interface{}, iargs ...interface{}) (err error)
func (s *Chain) Returns(args ...interface{}) []interface{}
func (s *GetSet) Set(i interface{}, n string, val interface{})
type GetSetter interface {
Get(n string) interface{}
Set(n string, val interface{})
}
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.