Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/stretchr/objx
/ functions
Functions
553 in github.com/stretchr/objx
⨍
Functions
553
◇
Types & classes
7
↓ 1 callers
Method
CollectInter
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 callers
Method
CollectStr
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 callers
Method
CollectUint
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 callers
Method
CollectUint16
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 callers
Method
CollectUint32
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 callers
Method
CollectUint64
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 callers
Method
CollectUint8
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 callers
Method
CollectUintptr
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 callers
Method
Empty
(t *testing.T, object interface{}, msgAndArgs ...interface{})
std_assert_test.go:190
↓ 1 callers
Method
Exclude
Exclude returns a new Map with the keys in the specified []string excluded.
mutations.go:5
↓ 1 callers
Method
GroupBool
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 callers
Method
GroupComplex128
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 callers
Method
GroupComplex64
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 callers
Method
GroupFloat32
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 callers
Method
GroupFloat64
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 callers
Method
GroupInt
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 callers
Method
GroupInt16
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 callers
Method
GroupInt32
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 callers
Method
GroupInt64
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 callers
Method
GroupInt8
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 callers
Method
GroupInter
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 callers
Method
GroupStr
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 callers
Method
GroupUint
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 callers
Method
GroupUint16
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 callers
Method
GroupUint32
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 callers
Method
GroupUint64
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 callers
Method
GroupUint8
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 callers
Method
GroupUintptr
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 callers
Method
IsComplex128
IsComplex128 gets whether the object contained is a complex128 or not.
type_specific_codegen.go:2181
↓ 1 callers
Method
IsComplex128Slice
IsComplex128Slice gets whether the object contained is a []complex128 or not.
type_specific_codegen.go:2187
↓ 1 callers
Method
IsComplex64
IsComplex64 gets whether the object contained is a complex64 or not.
type_specific_codegen.go:2056
↓ 1 callers
Method
IsComplex64Slice
IsComplex64Slice gets whether the object contained is a []complex64 or not.
type_specific_codegen.go:2062
↓ 1 callers
Method
IsInter
IsInter gets whether the object contained is a interface{} or not.
type_specific_codegen.go:46
↓ 1 callers
Method
IsUintptr
IsUintptr gets whether the object contained is a uintptr or not.
type_specific_codegen.go:1681
↓ 1 callers
Method
IsUintptrSlice
IsUintptrSlice gets whether the object contained is a []uintptr or not.
type_specific_codegen.go:1687
↓ 1 callers
Method
Merge
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 callers
Function
MustFromJSONSlice
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 callers
Method
ReplaceBool
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 callers
Method
ReplaceComplex128
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 callers
Method
ReplaceComplex64
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 callers
Method
ReplaceFloat32
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 callers
Method
ReplaceFloat64
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 callers
Method
ReplaceInt
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 callers
Method
ReplaceInt16
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 callers
Method
ReplaceInt32
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 callers
Method
ReplaceInt64
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 callers
Method
ReplaceInt8
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 callers
Method
ReplaceInter
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 callers
Method
ReplaceStr
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 callers
Method
ReplaceUint
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 callers
Method
ReplaceUint16
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 callers
Method
ReplaceUint32
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 callers
Method
ReplaceUint64
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 callers
Method
ReplaceUint8
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 callers
Method
ReplaceUintptr
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 callers
Method
TransformKeys
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 callers
Method
WhereBool
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 callers
Method
WhereComplex128
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 callers
Method
WhereComplex64
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 callers
Method
WhereFloat32
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 callers
Method
WhereFloat64
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 callers
Method
WhereInt
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 callers
Method
WhereInt16
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 callers
Method
WhereInt32
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 callers
Method
WhereInt64
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 callers
Method
WhereInt8
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 callers
Method
WhereInter
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 callers
Method
WhereStr
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 callers
Method
WhereUint
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 callers
Method
WhereUint16
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 callers
Method
WhereUint32
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 callers
Method
WhereUint64
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 callers
Method
WhereUint8
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 callers
Method
WhereUintptr
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 callers
Function
cleanUpInterfaceArray
(in []interface{})
conversions.go:62
↓ 1 callers
Function
cleanUpInterfaceMap
(in map[interface{}]interface{})
conversions.go:70
↓ 1 callers
Function
cleanUpMSIArray
(in []map[string]interface{})
conversions.go:86
↓ 1 callers
Function
cleanUpMapArray
(in []Map)
conversions.go:94
↓ 1 callers
Function
contains
Checks if a string slice contains a string
mutations.go:70
↓ 1 callers
Function
getIndex
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 callers
Function
getKey
getKey returns the key which is held in s by two brackets. It also returns the next selector.
accessors.go:83
↓ 1 callers
Function
interSlice
(slice interface{})
accessors.go:180
↓ 1 callers
Method
parseURLValues
(queryMap Map, vals url.Values, key string)
conversions.go:196
Method
Empty
(t *testing.T, object interface{}, msgAndArgs ...interface{})
std_assert_test.go:182
Method
Equal
(t *testing.T, expected, actual interface{}, msgAndArgs ...interface{})
std_assert_test.go:34
Method
Error
(t *testing.T, err error, msgAndArgs ...interface{})
std_assert_test.go:147
Method
False
(t *testing.T, value bool, msgAndArgs ...interface{})
std_assert_test.go:119
Method
Len
(t *testing.T, object interface{}, length int, msgAndArgs ...interface{})
std_assert_test.go:215
Method
MSI
* 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
Method
MSI
()
map_test.go:26
Method
Nil
(t *testing.T, object interface{}, msgAndArgs ...interface{})
std_assert_test.go:75
Method
NoError
(t *testing.T, err error, msgAndArgs ...interface{})
std_assert_test.go:133
Method
NotEqual
(t *testing.T, expected, actual interface{}, msgAndArgs ...interface{})
std_assert_test.go:48
Method
NotEqual
(t *testing.T, expected, actual interface{}, msgAndArgs ...interface{})
std_assert_test.go:56
Method
NotNil
(t *testing.T, object interface{}, msgAndArgs ...interface{})
std_assert_test.go:90
Method
Panics
(t *testing.T, f func(), msgAndArgs ...interface{})
std_assert_test.go:161
Function
TestAccessorsAccessGetDeep
(t *testing.T)
accessors_test.go:21
Function
TestAccessorsAccessGetDeepDeep
(t *testing.T)
accessors_test.go:43
Function
TestAccessorsAccessGetInsideArray
(t *testing.T)
accessors_test.go:76
Function
TestAccessorsAccessGetSingleField
(t *testing.T)
accessors_test.go:9
← previous
next →
201–300 of 553, ranked by callers