MCPcopy Create free account

hub / github.com/stretchr/objx / functions

Functions553 in github.com/stretchr/objx

↓ 1 callersMethodCollectInter
CollectInter uses the specified collector function to collect a value for each of the interface{}s in the slice. The data returned will be a []interf
type_specific_codegen.go:118
↓ 1 callersMethodCollectStr
CollectStr uses the specified collector function to collect a value for each of the strings in the slice. The data returned will be a []interface{}.
type_specific_codegen.go:368
↓ 1 callersMethodCollectUint
CollectUint uses the specified collector function to collect a value for each of the uints in the slice. The data returned will be a []interface{}.
type_specific_codegen.go:1128
↓ 1 callersMethodCollectUint16
CollectUint16 uses the specified collector function to collect a value for each of the uint16s in the slice. The data returned will be a []interface{
type_specific_codegen.go:1378
↓ 1 callersMethodCollectUint32
CollectUint32 uses the specified collector function to collect a value for each of the uint32s in the slice. The data returned will be a []interface{
type_specific_codegen.go:1503
↓ 1 callersMethodCollectUint64
CollectUint64 uses the specified collector function to collect a value for each of the uint64s in the slice. The data returned will be a []interface{
type_specific_codegen.go:1628
↓ 1 callersMethodCollectUint8
CollectUint8 uses the specified collector function to collect a value for each of the uint8s in the slice. The data returned will be a []interface{}.
type_specific_codegen.go:1253
↓ 1 callersMethodCollectUintptr
CollectUintptr uses the specified collector function to collect a value for each of the uintptrs in the slice. The data returned will be a []interfac
type_specific_codegen.go:1753
↓ 1 callersMethodEmpty
(t *testing.T, object interface{}, msgAndArgs ...interface{})
std_assert_test.go:190
↓ 1 callersMethodExclude
Exclude returns a new Map with the keys in the specified []string excluded.
mutations.go:5
↓ 1 callersMethodGroupBool
GroupBool uses the specified grouper function to group the items keyed by the return of the grouper. The object contained in the result will contain
type_specific_codegen.go:214
↓ 1 callersMethodGroupComplex128
GroupComplex128 uses the specified grouper function to group the items keyed by the return of the grouper. The object contained in the result will co
type_specific_codegen.go:2224
↓ 1 callersMethodGroupComplex64
GroupComplex64 uses the specified grouper function to group the items keyed by the return of the grouper. The object contained in the result will con
type_specific_codegen.go:2099
↓ 1 callersMethodGroupFloat32
GroupFloat32 uses the specified grouper function to group the items keyed by the return of the grouper. The object contained in the result will conta
type_specific_codegen.go:1849
↓ 1 callersMethodGroupFloat64
GroupFloat64 uses the specified grouper function to group the items keyed by the return of the grouper. The object contained in the result will conta
type_specific_codegen.go:1974
↓ 1 callersMethodGroupInt
GroupInt uses the specified grouper function to group the items keyed by the return of the grouper. The object contained in the result will contain a
type_specific_codegen.go:474
↓ 1 callersMethodGroupInt16
GroupInt16 uses the specified grouper function to group the items keyed by the return of the grouper. The object contained in the result will contain
type_specific_codegen.go:724
↓ 1 callersMethodGroupInt32
GroupInt32 uses the specified grouper function to group the items keyed by the return of the grouper. The object contained in the result will contain
type_specific_codegen.go:849
↓ 1 callersMethodGroupInt64
GroupInt64 uses the specified grouper function to group the items keyed by the return of the grouper. The object contained in the result will contain
type_specific_codegen.go:974
↓ 1 callersMethodGroupInt8
GroupInt8 uses the specified grouper function to group the items keyed by the return of the grouper. The object contained in the result will contain
type_specific_codegen.go:599
↓ 1 callersMethodGroupInter
GroupInter uses the specified grouper function to group the items keyed by the return of the grouper. The object contained in the result will contain
type_specific_codegen.go:89
↓ 1 callersMethodGroupStr
GroupStr uses the specified grouper function to group the items keyed by the return of the grouper. The object contained in the result will contain a
type_specific_codegen.go:339
↓ 1 callersMethodGroupUint
GroupUint uses the specified grouper function to group the items keyed by the return of the grouper. The object contained in the result will contain
type_specific_codegen.go:1099
↓ 1 callersMethodGroupUint16
GroupUint16 uses the specified grouper function to group the items keyed by the return of the grouper. The object contained in the result will contai
type_specific_codegen.go:1349
↓ 1 callersMethodGroupUint32
GroupUint32 uses the specified grouper function to group the items keyed by the return of the grouper. The object contained in the result will contai
type_specific_codegen.go:1474
↓ 1 callersMethodGroupUint64
GroupUint64 uses the specified grouper function to group the items keyed by the return of the grouper. The object contained in the result will contai
type_specific_codegen.go:1599
↓ 1 callersMethodGroupUint8
GroupUint8 uses the specified grouper function to group the items keyed by the return of the grouper. The object contained in the result will contain
type_specific_codegen.go:1224
↓ 1 callersMethodGroupUintptr
GroupUintptr uses the specified grouper function to group the items keyed by the return of the grouper. The object contained in the result will conta
type_specific_codegen.go:1724
↓ 1 callersMethodIsComplex128
IsComplex128 gets whether the object contained is a complex128 or not.
type_specific_codegen.go:2181
↓ 1 callersMethodIsComplex128Slice
IsComplex128Slice gets whether the object contained is a []complex128 or not.
type_specific_codegen.go:2187
↓ 1 callersMethodIsComplex64
IsComplex64 gets whether the object contained is a complex64 or not.
type_specific_codegen.go:2056
↓ 1 callersMethodIsComplex64Slice
IsComplex64Slice gets whether the object contained is a []complex64 or not.
type_specific_codegen.go:2062
↓ 1 callersMethodIsInter
IsInter gets whether the object contained is a interface{} or not.
type_specific_codegen.go:46
↓ 1 callersMethodIsUintptr
IsUintptr gets whether the object contained is a uintptr or not.
type_specific_codegen.go:1681
↓ 1 callersMethodIsUintptrSlice
IsUintptrSlice gets whether the object contained is a []uintptr or not.
type_specific_codegen.go:1687
↓ 1 callersMethodMerge
Merge blends the specified map with a copy of this map and returns the result. Keys that appear in both will be selected from the specified map. This
mutations.go:28
↓ 1 callersFunctionMustFromJSONSlice
MustFromJSONSlice creates a new slice of Map containing the data specified in the jsonString. Works with jsons with a top level array Panics if the J
map.go:98
↓ 1 callersMethodReplaceBool
ReplaceBool uses the specified function to replace each bools by iterating each item. The data in the returned result will be a []bool containing the
type_specific_codegen.go:230
↓ 1 callersMethodReplaceComplex128
ReplaceComplex128 uses the specified function to replace each complex128s by iterating each item. The data in the returned result will be a []complex
type_specific_codegen.go:2240
↓ 1 callersMethodReplaceComplex64
ReplaceComplex64 uses the specified function to replace each complex64s by iterating each item. The data in the returned result will be a []complex64
type_specific_codegen.go:2115
↓ 1 callersMethodReplaceFloat32
ReplaceFloat32 uses the specified function to replace each float32s by iterating each item. The data in the returned result will be a []float32 conta
type_specific_codegen.go:1865
↓ 1 callersMethodReplaceFloat64
ReplaceFloat64 uses the specified function to replace each float64s by iterating each item. The data in the returned result will be a []float64 conta
type_specific_codegen.go:1990
↓ 1 callersMethodReplaceInt
ReplaceInt uses the specified function to replace each ints by iterating each item. The data in the returned result will be a []int containing the re
type_specific_codegen.go:490
↓ 1 callersMethodReplaceInt16
ReplaceInt16 uses the specified function to replace each int16s by iterating each item. The data in the returned result will be a []int16 containing
type_specific_codegen.go:740
↓ 1 callersMethodReplaceInt32
ReplaceInt32 uses the specified function to replace each int32s by iterating each item. The data in the returned result will be a []int32 containing
type_specific_codegen.go:865
↓ 1 callersMethodReplaceInt64
ReplaceInt64 uses the specified function to replace each int64s by iterating each item. The data in the returned result will be a []int64 containing
type_specific_codegen.go:990
↓ 1 callersMethodReplaceInt8
ReplaceInt8 uses the specified function to replace each int8s by iterating each item. The data in the returned result will be a []int8 containing the
type_specific_codegen.go:615
↓ 1 callersMethodReplaceInter
ReplaceInter uses the specified function to replace each interface{}s by iterating each item. The data in the returned result will be a []interface{}
type_specific_codegen.go:105
↓ 1 callersMethodReplaceStr
ReplaceStr uses the specified function to replace each strings by iterating each item. The data in the returned result will be a []string containing
type_specific_codegen.go:355
↓ 1 callersMethodReplaceUint
ReplaceUint uses the specified function to replace each uints by iterating each item. The data in the returned result will be a []uint containing the
type_specific_codegen.go:1115
↓ 1 callersMethodReplaceUint16
ReplaceUint16 uses the specified function to replace each uint16s by iterating each item. The data in the returned result will be a []uint16 containi
type_specific_codegen.go:1365
↓ 1 callersMethodReplaceUint32
ReplaceUint32 uses the specified function to replace each uint32s by iterating each item. The data in the returned result will be a []uint32 containi
type_specific_codegen.go:1490
↓ 1 callersMethodReplaceUint64
ReplaceUint64 uses the specified function to replace each uint64s by iterating each item. The data in the returned result will be a []uint64 containi
type_specific_codegen.go:1615
↓ 1 callersMethodReplaceUint8
ReplaceUint8 uses the specified function to replace each uint8s by iterating each item. The data in the returned result will be a []uint8 containing
type_specific_codegen.go:1240
↓ 1 callersMethodReplaceUintptr
ReplaceUintptr uses the specified function to replace each uintptrs by iterating each item. The data in the returned result will be a []uintptr conta
type_specific_codegen.go:1740
↓ 1 callersMethodTransformKeys
TransformKeys builds a new map using the specified key mapping. Unspecified keys will be unaltered. This method requires that the wrapped object be a
mutations.go:60
↓ 1 callersMethodWhereBool
WhereBool uses the specified decider function to select items from the []bool. The object contained in the result will contain only the selected item
type_specific_codegen.go:199
↓ 1 callersMethodWhereComplex128
WhereComplex128 uses the specified decider function to select items from the []complex128. The object contained in the result will contain only the s
type_specific_codegen.go:2209
↓ 1 callersMethodWhereComplex64
WhereComplex64 uses the specified decider function to select items from the []complex64. The object contained in the result will contain only the sel
type_specific_codegen.go:2084
↓ 1 callersMethodWhereFloat32
WhereFloat32 uses the specified decider function to select items from the []float32. The object contained in the result will contain only the selecte
type_specific_codegen.go:1834
↓ 1 callersMethodWhereFloat64
WhereFloat64 uses the specified decider function to select items from the []float64. The object contained in the result will contain only the selecte
type_specific_codegen.go:1959
↓ 1 callersMethodWhereInt
WhereInt uses the specified decider function to select items from the []int. The object contained in the result will contain only the selected items.
type_specific_codegen.go:459
↓ 1 callersMethodWhereInt16
WhereInt16 uses the specified decider function to select items from the []int16. The object contained in the result will contain only the selected it
type_specific_codegen.go:709
↓ 1 callersMethodWhereInt32
WhereInt32 uses the specified decider function to select items from the []int32. The object contained in the result will contain only the selected it
type_specific_codegen.go:834
↓ 1 callersMethodWhereInt64
WhereInt64 uses the specified decider function to select items from the []int64. The object contained in the result will contain only the selected it
type_specific_codegen.go:959
↓ 1 callersMethodWhereInt8
WhereInt8 uses the specified decider function to select items from the []int8. The object contained in the result will contain only the selected item
type_specific_codegen.go:584
↓ 1 callersMethodWhereInter
WhereInter uses the specified decider function to select items from the []interface{}. The object contained in the result will contain only the selec
type_specific_codegen.go:74
↓ 1 callersMethodWhereStr
WhereStr uses the specified decider function to select items from the []string. The object contained in the result will contain only the selected ite
type_specific_codegen.go:324
↓ 1 callersMethodWhereUint
WhereUint uses the specified decider function to select items from the []uint. The object contained in the result will contain only the selected item
type_specific_codegen.go:1084
↓ 1 callersMethodWhereUint16
WhereUint16 uses the specified decider function to select items from the []uint16. The object contained in the result will contain only the selected
type_specific_codegen.go:1334
↓ 1 callersMethodWhereUint32
WhereUint32 uses the specified decider function to select items from the []uint32. The object contained in the result will contain only the selected
type_specific_codegen.go:1459
↓ 1 callersMethodWhereUint64
WhereUint64 uses the specified decider function to select items from the []uint64. The object contained in the result will contain only the selected
type_specific_codegen.go:1584
↓ 1 callersMethodWhereUint8
WhereUint8 uses the specified decider function to select items from the []uint8. The object contained in the result will contain only the selected it
type_specific_codegen.go:1209
↓ 1 callersMethodWhereUintptr
WhereUintptr uses the specified decider function to select items from the []uintptr. The object contained in the result will contain only the selecte
type_specific_codegen.go:1709
↓ 1 callersFunctioncleanUpInterfaceArray
(in []interface{})
conversions.go:62
↓ 1 callersFunctioncleanUpInterfaceMap
(in map[interface{}]interface{})
conversions.go:70
↓ 1 callersFunctioncleanUpMSIArray
(in []map[string]interface{})
conversions.go:86
↓ 1 callersFunctioncleanUpMapArray
(in []Map)
conversions.go:94
↓ 1 callersFunctioncontains
Checks if a string slice contains a string
mutations.go:70
↓ 1 callersFunctiongetIndex
getIndex returns the index, which is hold in s by two branches. It also returns s without the index part, e.g. name[1] will return (1, name). If no in
accessors.go:68
↓ 1 callersFunctiongetKey
getKey returns the key which is held in s by two brackets. It also returns the next selector.
accessors.go:83
↓ 1 callersFunctioninterSlice
(slice interface{})
accessors.go:180
↓ 1 callersMethodparseURLValues
(queryMap Map, vals url.Values, key string)
conversions.go:196
MethodEmpty
(t *testing.T, object interface{}, msgAndArgs ...interface{})
std_assert_test.go:182
MethodEqual
(t *testing.T, expected, actual interface{}, msgAndArgs ...interface{})
std_assert_test.go:34
MethodError
(t *testing.T, err error, msgAndArgs ...interface{})
std_assert_test.go:147
MethodFalse
(t *testing.T, value bool, msgAndArgs ...interface{})
std_assert_test.go:119
MethodLen
(t *testing.T, object interface{}, length int, msgAndArgs ...interface{})
std_assert_test.go:215
MethodMSI
* MSI (map[string]interface{} and []map[string]interface{}) */ MSI gets the value as a map[string]interface{}, returns the optionalDefault value or
type_specific.go:9
MethodMSI
()
map_test.go:26
MethodNil
(t *testing.T, object interface{}, msgAndArgs ...interface{})
std_assert_test.go:75
MethodNoError
(t *testing.T, err error, msgAndArgs ...interface{})
std_assert_test.go:133
MethodNotEqual
(t *testing.T, expected, actual interface{}, msgAndArgs ...interface{})
std_assert_test.go:48
MethodNotEqual
(t *testing.T, expected, actual interface{}, msgAndArgs ...interface{})
std_assert_test.go:56
MethodNotNil
(t *testing.T, object interface{}, msgAndArgs ...interface{})
std_assert_test.go:90
MethodPanics
(t *testing.T, f func(), msgAndArgs ...interface{})
std_assert_test.go:161
FunctionTestAccessorsAccessGetDeep
(t *testing.T)
accessors_test.go:21
FunctionTestAccessorsAccessGetDeepDeep
(t *testing.T)
accessors_test.go:43
FunctionTestAccessorsAccessGetInsideArray
(t *testing.T)
accessors_test.go:76
FunctionTestAccessorsAccessGetSingleField
(t *testing.T)
accessors_test.go:9
← previousnext →201–300 of 553, ranked by callers