MCPcopy Create free account

hub / github.com/stretchr/objx / functions

Functions553 in github.com/stretchr/objx

↓ 3 callersMethodFloat64Slice
Float64Slice gets the value as a []float64, returns the optionalDefault value or nil if the value is not a []float64.
type_specific_codegen.go:1913
↓ 3 callersFunctionFromJSONSlice
FromJSONSlice creates a new slice of Map containing the data specified in the jsonString. Works with jsons with a top level array Returns an error if
map.go:123
↓ 3 callersFunctionFromURLQuery
FromURLQuery generates a new Obj by parsing the specified query. For queries with multiple values, the first value is selected.
map.go:190
↓ 3 callersFunctionHashWithKey
HashWithKey hashes the specified string using the security key
security.go:9
↓ 3 callersMethodInt16Slice
Int16Slice gets the value as a []int16, returns the optionalDefault value or nil if the value is not a []int16.
type_specific_codegen.go:663
↓ 3 callersMethodInt32Slice
Int32Slice gets the value as a []int32, returns the optionalDefault value or nil if the value is not a []int32.
type_specific_codegen.go:788
↓ 3 callersMethodInt64Slice
Int64Slice gets the value as a []int64, returns the optionalDefault value or nil if the value is not a []int64.
type_specific_codegen.go:913
↓ 3 callersMethodInt8Slice
Int8Slice gets the value as a []int8, returns the optionalDefault value or nil if the value is not a []int8.
type_specific_codegen.go:538
↓ 3 callersMethodIntSlice
IntSlice gets the value as a []int, returns the optionalDefault value or nil if the value is not a []int.
type_specific_codegen.go:413
↓ 3 callersMethodInter
* Inter (interface{} and []interface{}) */ Inter gets the value as a interface{}, returns the optionalDefault value or a system default object if t
type_specific_codegen.go:9
↓ 3 callersMethodIsBool
IsBool gets whether the object contained is a bool or not.
type_specific_codegen.go:171
↓ 3 callersMethodIsBoolSlice
IsBoolSlice gets whether the object contained is a []bool or not.
type_specific_codegen.go:177
↓ 3 callersMethodIsFloat32Slice
IsFloat32Slice gets whether the object contained is a []float32 or not.
type_specific_codegen.go:1812
↓ 3 callersMethodIsFloat64Slice
IsFloat64Slice gets whether the object contained is a []float64 or not.
type_specific_codegen.go:1937
↓ 3 callersMethodIsInt
IsInt gets whether the object contained is a int or not.
type_specific_codegen.go:431
↓ 3 callersMethodIsInt16Slice
IsInt16Slice gets whether the object contained is a []int16 or not.
type_specific_codegen.go:687
↓ 3 callersMethodIsInt32Slice
IsInt32Slice gets whether the object contained is a []int32 or not.
type_specific_codegen.go:812
↓ 3 callersMethodIsInt64Slice
IsInt64Slice gets whether the object contained is a []int64 or not.
type_specific_codegen.go:937
↓ 3 callersMethodIsInt8Slice
IsInt8Slice gets whether the object contained is a []int8 or not.
type_specific_codegen.go:562
↓ 3 callersMethodIsIntSlice
IsIntSlice gets whether the object contained is a []int or not.
type_specific_codegen.go:437
↓ 3 callersMethodIsInterSlice
IsInterSlice gets whether the object contained is a []interface{} or not.
type_specific_codegen.go:52
↓ 3 callersMethodIsObjxMap
IsObjxMap gets whether the object contained is a (Map) or not.
type_specific.go:245
↓ 3 callersMethodIsStr
IsStr gets whether the object contained is a string or not.
type_specific_codegen.go:296
↓ 3 callersMethodIsStrSlice
IsStrSlice gets whether the object contained is a []string or not.
type_specific_codegen.go:302
↓ 3 callersMethodIsUint16Slice
IsUint16Slice gets whether the object contained is a []uint16 or not.
type_specific_codegen.go:1312
↓ 3 callersMethodIsUint32Slice
IsUint32Slice gets whether the object contained is a []uint32 or not.
type_specific_codegen.go:1437
↓ 3 callersMethodIsUint64Slice
IsUint64Slice gets whether the object contained is a []uint64 or not.
type_specific_codegen.go:1562
↓ 3 callersMethodIsUint8Slice
IsUint8Slice gets whether the object contained is a []uint8 or not.
type_specific_codegen.go:1187
↓ 3 callersMethodIsUintSlice
IsUintSlice gets whether the object contained is a []uint or not.
type_specific_codegen.go:1062
↓ 3 callersMethodMustJSON
MustJSON converts the contained object to a JSON string representation and panics if there is an error
conversions.go:121
↓ 3 callersMethodMustMSI
MustMSI gets the value as a map[string]interface{}. Panics if the object is not a map[string]interface{}.
type_specific.go:25
↓ 3 callersMethodMustObjxMap
MustObjxMap gets the value as a (Map). Panics if the object is not a (Map).
type_specific.go:190
↓ 3 callersMethodSignedBase64
SignedBase64 converts the contained object to a Base64 string representation of the JSON string representation and signs it using the provided key.
conversions.go:160
↓ 3 callersMethodStrSlice
StrSlice gets the value as a []string, returns the optionalDefault value or nil if the value is not a []string.
type_specific_codegen.go:278
↓ 3 callersMethodURLQuery
URLQuery gets an encoded URL query representing the given Obj. This function requires that the wrapped object be a map[string]interface{}
conversions.go:278
↓ 3 callersMethodUint16Slice
Uint16Slice gets the value as a []uint16, returns the optionalDefault value or nil if the value is not a []uint16.
type_specific_codegen.go:1288
↓ 3 callersMethodUint32Slice
Uint32Slice gets the value as a []uint32, returns the optionalDefault value or nil if the value is not a []uint32.
type_specific_codegen.go:1413
↓ 3 callersMethodUint64Slice
Uint64Slice gets the value as a []uint64, returns the optionalDefault value or nil if the value is not a []uint64.
type_specific_codegen.go:1538
↓ 3 callersMethodUint8Slice
Uint8Slice gets the value as a []uint8, returns the optionalDefault value or nil if the value is not a []uint8.
type_specific_codegen.go:1163
↓ 3 callersMethodUintSlice
UintSlice gets the value as a []uint, returns the optionalDefault value or nil if the value is not a []uint.
type_specific_codegen.go:1038
↓ 3 callersMethodUintptr
* Uintptr (uintptr and []uintptr) */ Uintptr gets the value as a uintptr, returns the optionalDefault value or a system default object if the value
type_specific_codegen.go:1644
↓ 3 callersMethodUintptrSlice
UintptrSlice gets the value as a []uintptr, returns the optionalDefault value or nil if the value is not a []uintptr.
type_specific_codegen.go:1663
↓ 3 callersFunctioncleanUpStringMap
(in map[string]interface{})
conversions.go:78
↓ 2 callersMethodCollectMSI
CollectMSI uses the specified collector function to collect a value for each of the map[string]interface{}s in the slice. The data returned will be a
type_specific.go:158
↓ 2 callersMethodCollectObjxMap
CollectObjxMap uses the specified collector function to collect a value for each of the (Map)s in the slice. The data returned will be a []interface{
type_specific.go:338
↓ 2 callersMethodCopy
Copy creates a shallow copy of the Obj.
mutations.go:16
↓ 2 callersMethodGroupMSI
GroupMSI 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.go:129
↓ 2 callersMethodGroupObjxMap
GroupObjxMap 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.go:309
↓ 2 callersMethodIsFloat32
IsFloat32 gets whether the object contained is a float32 or not.
type_specific_codegen.go:1806
↓ 2 callersMethodIsFloat64
IsFloat64 gets whether the object contained is a float64 or not.
type_specific_codegen.go:1931
↓ 2 callersMethodIsInt16
IsInt16 gets whether the object contained is a int16 or not.
type_specific_codegen.go:681
↓ 2 callersMethodIsInt32
IsInt32 gets whether the object contained is a int32 or not.
type_specific_codegen.go:806
↓ 2 callersMethodIsInt64
IsInt64 gets whether the object contained is a int64 or not.
type_specific_codegen.go:931
↓ 2 callersMethodIsInt8
IsInt8 gets whether the object contained is a int8 or not.
type_specific_codegen.go:556
↓ 2 callersMethodIsMSI
IsMSI gets whether the object contained is a map[string]interface{} or not.
type_specific.go:66
↓ 2 callersMethodIsUint
IsUint gets whether the object contained is a uint or not.
type_specific_codegen.go:1056
↓ 2 callersMethodIsUint16
IsUint16 gets whether the object contained is a uint16 or not.
type_specific_codegen.go:1306
↓ 2 callersMethodIsUint32
IsUint32 gets whether the object contained is a uint32 or not.
type_specific_codegen.go:1431
↓ 2 callersMethodIsUint64
IsUint64 gets whether the object contained is a uint64 or not.
type_specific_codegen.go:1556
↓ 2 callersMethodIsUint8
IsUint8 gets whether the object contained is a uint8 or not.
type_specific_codegen.go:1181
↓ 2 callersMethodMergeHere
MergeHere blends the specified map with this map and returns the current map. Keys that appear in both will be selected from the specified map. The o
mutations.go:37
↓ 2 callersMethodMustBase64
MustBase64 converts the contained object to a Base64 string representation of the JSON string representation and panics if there is an error
conversions.go:149
↓ 2 callersMethodMustBool
MustBool gets the value as a bool. Panics if the object is not a bool.
type_specific_codegen.go:147
↓ 2 callersMethodMustComplex128
MustComplex128 gets the value as a complex128. Panics if the object is not a complex128.
type_specific_codegen.go:2157
↓ 2 callersMethodMustComplex64
MustComplex64 gets the value as a complex64. Panics if the object is not a complex64.
type_specific_codegen.go:2032
↓ 2 callersMethodMustFloat32
MustFloat32 gets the value as a float32. Panics if the object is not a float32.
type_specific_codegen.go:1782
↓ 2 callersMethodMustFloat64
MustFloat64 gets the value as a float64. Panics if the object is not a float64.
type_specific_codegen.go:1907
↓ 2 callersFunctionMustFromBase64
MustFromBase64 creates a new Obj containing the data specified in the Base64 string and panics if there is an error. The string is an encoded JSON st
map.go:149
↓ 2 callersFunctionMustFromURLQuery
MustFromURLQuery generates a new Obj by parsing the specified query. For queries with multiple values, the first value is selected. Panics if it enc
map.go:208
↓ 2 callersMethodMustInt16
MustInt16 gets the value as a int16. Panics if the object is not a int16.
type_specific_codegen.go:657
↓ 2 callersMethodMustInt32
MustInt32 gets the value as a int32. Panics if the object is not a int32.
type_specific_codegen.go:782
↓ 2 callersMethodMustInt64
MustInt64 gets the value as a int64. Panics if the object is not a int64.
type_specific_codegen.go:907
↓ 2 callersMethodMustInt8
MustInt8 gets the value as a int8. Panics if the object is not a int8.
type_specific_codegen.go:532
↓ 2 callersMethodMustInter
MustInter gets the value as a interface{}. Panics if the object is not a interface{}.
type_specific_codegen.go:22
↓ 2 callersMethodMustSignedBase64
MustSignedBase64 converts the contained object to a Base64 string representation of the JSON string representation and signs it using the provided key
conversions.go:173
↓ 2 callersMethodMustStr
MustStr gets the value as a string. Panics if the object is not a string.
type_specific_codegen.go:272
↓ 2 callersMethodMustUint
MustUint gets the value as a uint. Panics if the object is not a uint.
type_specific_codegen.go:1032
↓ 2 callersMethodMustUint16
MustUint16 gets the value as a uint16. Panics if the object is not a uint16.
type_specific_codegen.go:1282
↓ 2 callersMethodMustUint32
MustUint32 gets the value as a uint32. Panics if the object is not a uint32.
type_specific_codegen.go:1407
↓ 2 callersMethodMustUint64
MustUint64 gets the value as a uint64. Panics if the object is not a uint64.
type_specific_codegen.go:1532
↓ 2 callersMethodMustUint8
MustUint8 gets the value as a uint8. Panics if the object is not a uint8.
type_specific_codegen.go:1157
↓ 2 callersMethodMustUintptr
MustUintptr gets the value as a uintptr. Panics if the object is not a uintptr.
type_specific_codegen.go:1657
↓ 2 callersMethodReplaceMSI
ReplaceMSI uses the specified function to replace each map[string]interface{}s by iterating each item. The data in the returned result will be a []ma
type_specific.go:145
↓ 2 callersMethodReplaceObjxMap
ReplaceObjxMap uses the specified function to replace each (Map)s by iterating each item. The data in the returned result will be a [](Map) containin
type_specific.go:325
↓ 2 callersMethodTransform
Transform builds a new Obj giving the transformer a chance to change the keys and values as it goes. This method requires that the wrapped object be a
mutations.go:47
↓ 2 callersMethodURLValues
* URL Query ------------------------------------------------ */ URLValues creates a url.Values object from an Obj. This function requires that the w
conversions.go:188
↓ 2 callersMethodWhereMSI
WhereMSI uses the specified decider function to select items from the []map[string]interface{}. The object contained in the result will contain only
type_specific.go:114
↓ 2 callersMethodWhereObjxMap
WhereObjxMap uses the specified decider function to select items from the [](Map). The object contained in the result will contain only the selected
type_specific.go:294
↓ 2 callersFunctionaccess
access accesses the object using the selector and performs the appropriate action.
accessors.go:116
↓ 2 callersFunctionisEmpty
(object interface{})
std_assert_test.go:197
↓ 1 callersMethodCollectBool
CollectBool uses the specified collector function to collect a value for each of the bools in the slice. The data returned will be a []interface{}.
type_specific_codegen.go:243
↓ 1 callersMethodCollectComplex128
CollectComplex128 uses the specified collector function to collect a value for each of the complex128s in the slice. The data returned will be a []in
type_specific_codegen.go:2253
↓ 1 callersMethodCollectComplex64
CollectComplex64 uses the specified collector function to collect a value for each of the complex64s in the slice. The data returned will be a []inte
type_specific_codegen.go:2128
↓ 1 callersMethodCollectFloat32
CollectFloat32 uses the specified collector function to collect a value for each of the float32s in the slice. The data returned will be a []interfac
type_specific_codegen.go:1878
↓ 1 callersMethodCollectFloat64
CollectFloat64 uses the specified collector function to collect a value for each of the float64s in the slice. The data returned will be a []interfac
type_specific_codegen.go:2003
↓ 1 callersMethodCollectInt
CollectInt uses the specified collector function to collect a value for each of the ints in the slice. The data returned will be a []interface{}.
type_specific_codegen.go:503
↓ 1 callersMethodCollectInt16
CollectInt16 uses the specified collector function to collect a value for each of the int16s in the slice. The data returned will be a []interface{}.
type_specific_codegen.go:753
↓ 1 callersMethodCollectInt32
CollectInt32 uses the specified collector function to collect a value for each of the int32s in the slice. The data returned will be a []interface{}.
type_specific_codegen.go:878
↓ 1 callersMethodCollectInt64
CollectInt64 uses the specified collector function to collect a value for each of the int64s in the slice. The data returned will be a []interface{}.
type_specific_codegen.go:1003
↓ 1 callersMethodCollectInt8
CollectInt8 uses the specified collector function to collect a value for each of the int8s in the slice. The data returned will be a []interface{}.
type_specific_codegen.go:628
← previousnext →101–200 of 553, ranked by callers