MCPcopy Create free account

hub / github.com/corestoreio/pkg / functions

Functions7,620 in github.com/corestoreio/pkg

↓ 2 callersMethodCompanyLegal
Company generates company name
util/pseudo/jobs.go:15
↓ 2 callersMethodConfigByScope
ConfigByScope creates a new scoped configuration depending on the Service.useWebsite flag. If useWebsite==true the scoped configuration contains only
net/signed/service_generic.go:146
↓ 2 callersMethodConfigByScopedGetter
ConfigByScopedGetter returns the internal configuration depending on the ScopedGetter. Mainly used within the middleware. If you have applied the opt
net/signed/service_generic.go:179
↓ 2 callersMethodConfigIDs
ConfigIDs returns a slice with the data or appends it to a slice. Auto generated.
sql/dmlgen/dmltestgenerated4/db_part_query_gen.go:565
↓ 2 callersMethodContainsLabel
ContainsLabel checks if k has an entry as a label.
config/_cfgsource/slice.go:184
↓ 2 callersMethodCopy
Copy copies the struct and returns a new pointer. TODO use deepcopy tool to generate code afterwards
sql/dmlgen/dmltestgenerated2/no_db_gen.go:40
↓ 2 callersMethodCopy
Copy copies the struct and returns a new pointer. TODO use deepcopy tool to generate code afterwards
sql/dmlgen/dmltestgenerated5/tables_gen.go:1205
↓ 2 callersMethodCreditCardType
CreditCardType returns one of the following credit values: VISA, MasterCard, American Express and Discover
util/pseudo/credit_cards.go:32
↓ 2 callersMethodCurrency
Currency generates currency name.
util/pseudo/currencies.go:6
↓ 2 callersMethodDBLoad
(ctx context.Context, dbm *DBM, pkIDs []SalesOrderStatusStatesDBLoadArgs, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated/output_gen.go:4018
↓ 2 callersMethodDefaultStoreID
(ctx context.Context, in *ProtoRunModeRequest, opts ...grpc.CallOption)
store/service.pb.go:370
↓ 2 callersMethodDefaultStoreID
DefaultStoreID returns the default active store ID depending on the run mode. Error behaviour is mostly of type NotValid.
store/service.go:390
↓ 2 callersMethodDelete
Delete removes index i from slice
util/slices/int64.go:64
↓ 2 callersMethodDeleteAllFromCache
DeleteAllFromCache clears the internal table cache and resets the maps.
sql/ddl/tables.go:560
↓ 2 callersMethodDeleteByPK
DeleteByPK creates a new `DELETE FROM table WHERE id = ?`
sql/ddl/table.go:239
↓ 2 callersMethodDeleteFromCache
DeleteFromCache removes tables by their given indexes. If no index has been passed then all entries get removed and the map reinitialized.
sql/ddl/tables.go:551
↓ 2 callersFunctionDeregister
Deregister removes a previously registered hash and all its HMAC hashes. Safe for concurrent use.
util/hashpool/register.go:105
↓ 2 callersMethodDigits
Digits returns from 1 to 5 digits as a string
util/pseudo/general.go:67
↓ 2 callersMethodDigitsN
DigitsN returns n digits as a string
util/pseudo/general.go:58
↓ 2 callersFunctionDisableForeignKeys
(ctx context.Context, db dml.Execer, callBack func() error)
sql/ddl/foreign_key.go:492
↓ 2 callersMethodEach
Each will run function f on all items in []* SalesOrderStatusState . Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:4139
↓ 2 callersMethodEach
Each applies function f to all elements.
sql/ddl/columns.go:163
↓ 2 callersMethodEmailAddress
EmailAddress generates email address
util/pseudo/internet.go:43
↓ 2 callersMethodEmpty
Empty empties all the fields of the current object. Also known as Reset.
sql/dmlgen/dmltestgenerated2/no_db_gen.go:49
↓ 2 callersMethodEmpty
Empty empties all the fields of the current object. Also known as Reset.
sql/dmlgen/dmltestgenerated5/tables_gen.go:1335
↓ 2 callersMethodEqualReader
EqualReader hashes io.Reader and compares it with MAC for equality without leaking timing information. The internal buffer to read into data from io.R
util/hashpool/hashpool.go:118
↓ 2 callersFunctionError
Error asserts that a function returned an error (i.e. not `nil`). actualObj, err := SomeFunction() if assert.Error(t, err) { assert.Equal(t, expe
util/assert/assertions.go:1271
↓ 2 callersMethodEscapeIdent
(w *bytes.Buffer, ident string)
sql/dml/dialect.go:37
↓ 2 callersMethodFake
Fake implements pseudo.Faker interface to generate custom fake data for specific fields. In this case field PrecisionStr should not contain random fak
storage/null/decimal.go:464
↓ 2 callersMethodFemaleFirstName
FemaleFirstName generates female first name
util/pseudo/names.go:21
↓ 2 callersMethodFirstName
FirstName generates first name
util/pseudo/names.go:26
↓ 2 callersMethodFmtFloat64
FmtCurrencyFloat64 formats a float value, does internal maybe incorrect rounding. Returns the number bytes written or an error. Thread safe.
i18n/currency.go:259
↓ 2 callersMethodFmtInt64
FmtInt64 formats an integer according to the format pattern. Thread safe
i18n/number.go:341
↓ 2 callersFunctionFromBytes
FromBytes returns the Type from a byte slice. Supported values are default, websites, stores, Default, Website, Group and store. Case sensitive.
store/scope/type.go:206
↓ 2 callersFunctionFromContext
FromContext returns the csjwt.Token in ctx if it exists or an error. If there is no token in the context then the error ErrContextJWTNotFound gets ret
net/jwt/context.go:37
↓ 2 callersFunctionFromContextCountry
FromContextCountry returns the geoip.Country in ctx if it exists or an error. The error has been previously set by WithContextError. An error can be f
net/geoip/context.go:39
↓ 2 callersFunctionFromContextToken
FromContextToken returns the token in ctx if it exists or an error.
util/csjwt/context.go:36
↓ 2 callersFunctionFromType
FromType returns the string representation for a Type. Opposite of FromString.
store/scope/type.go:184
↓ 2 callersMethodFullName
FullName generates full name it can occasionally include prefix or suffix
util/pseudo/names.go:163
↓ 2 callersMethodGender
Gender generates random gender
util/pseudo/personal.go:8
↓ 2 callersMethodGenerateFile
(w io.Writer)
util/codegen/proto.go:69
↓ 2 callersMethodGet
Get tries to retrieve a currency considering the scope
directory/config_models.go:55
↓ 2 callersMethodGet
Get returns a signing method definied for a scope. Error behaviour: NotImplemented
net/jwt/backendjwt/models.go:56
↓ 2 callersMethodGet
Get returns type safe a hash.
util/hashpool/hashpool.go:46
↓ 2 callersMethodGetByCode
GetByCode returns a TableEntityType using the entity code
eav/entity_type.go:151
↓ 2 callersMethodGetByID
(id int64)
eav/entity_type.go:57
↓ 2 callersMethodGetValueTablePrefix
ValueTablePrefix returns the table prefix for all value tables @see magento2/site/app/code/Magento/Eav/Model/Entity/AbstractEntity.php::getValueTableP
eav/entity_type.go:188
↓ 2 callersMethodGlobal
Global displays with a GLOBAL modifier, the statement displays global system variable values. These are the values used to initialize the correspondin
sql/dml/show.go:52
↓ 2 callersMethodGoString
GoString prints an optimized Go representation.
storage/null/float64.go:95
↓ 2 callersMethodGreatest
()
sql/dml/condition.go:406
↓ 2 callersMethodHas
(name string)
sql/urlvalues/values.go:11
↓ 2 callersMethodHasEqualType
HasEqualType returns true if the type matches and nullable.
sql/ddl/columns.go:595
↓ 2 callersMethodHeader
()
net/cors/bench_test.go:43
↓ 2 callersMethodHeaderKey
HeaderKey returns the name of the header key
net/signed/header_hmac.go:52
↓ 2 callersMethodHeaderKey
HeaderKey returns the name of the header key
net/signed/header_signature.go:52
↓ 2 callersMethodHeaderKey
()
net/signed/http.go:36
↓ 2 callersMethodIPv4
IPv4 generates IPv4 address
util/pseudo/internet.go:63
↓ 2 callersMethodIPv6
IPv6 generates IPv6 address
util/pseudo/internet.go:73
↓ 2 callersFunctionInDelta
InDelta asserts that the two numerals are within delta of each other. assert.InDelta(t, math.Pi, 22/7.0, 0.01)
util/assert/assertions.go:1108
↓ 2 callersMethodIndex
Index returns the current catattr.Attributer from index i. Use type assertion.
catalog/catattr/attribute.go:274
↓ 2 callersMethodIndexValBool
IndexValBool checks if value k exists and returns its position. Returns -1 when the value was not found.
config/_cfgsource/slice.go:174
↓ 2 callersMethodIndexValFloat64
IndexValFloat64 checks if value k exists and returns its position. Returns -1 when the value was not found.
config/_cfgsource/slice.go:157
↓ 2 callersMethodIndexValInt
IndexValInt checks if value k exists and returns its position. Returns -1 when the value was not found.
config/_cfgsource/slice.go:141
↓ 2 callersMethodIndexValString
IndexValString checks if value k exists and returns its position. Returns -1 when the value was not found.
config/_cfgsource/slice.go:125
↓ 2 callersMethodInitCountry
InitCountry should run every time your service initializes or a value in the database changes.
directory/config_source.go:72
↓ 2 callersMethodInitCurrency
InitCurrency sets the Options() on all PathCurrency* configuration global variables.
directory/config_source.go:54
↓ 2 callersFunctionIsBase64
IsBase64 check if a string is base64 encoded. Optimized version without regex.
util/validation/validator.go:643
↓ 2 callersMethodIsCurrentTimestamp
IsCurrentTimestamp checks if the Default field is a current timestamp
sql/ddl/columns.go:517
↓ 2 callersFunctionIsDivisibleBy
IsDivisibleBy check if the string is a number that's divisible by another. If second argument is not valid integer or zero, it's return false. Otherwi
util/validation/validator.go:422
↓ 2 callersFunctionIsHexadecimal
IsHexadecimal check if the string is a hexadecimal number.
util/validation/validator.go:294
↓ 2 callersFunctionIsInt
IsInt check if the string is an integer. Empty string is valid.
util/validation/validator.go:375
↓ 2 callersFunctionIsPort
IsPort checks if a string represents a valid port
util/validation/validator.go:817
↓ 2 callersFunctionIsPositive
IsPositive returns true if value > 0
util/validation/numerics.go:51
↓ 2 callersFunctionIsValidIdentifier
just a dummy value, can be optimized later IsValidIdentifier checks the permissible syntax for identifiers. Certain objects within MySQL, including da
sql/dml/naming.go:410
↓ 2 callersFunctionIsWhole
IsWhole returns true if value is whole number
util/validation/numerics.go:90
↓ 2 callersMethodJSON
JSON sends a JSON response with status code.
net/response/response.go:146
↓ 2 callersMethodJSONIndent
JSONIndent sends a JSON response with status code, but it applies prefix and indent to format the output.
net/response/response.go:158
↓ 2 callersMethodJSONP
JSONP sends a JSONP response with status code. It uses `callback` to construct the JSONP payload.
net/response/response.go:179
↓ 2 callersMethodKey
Key returns the key for this request based on the criteria defined by the VaryBy struct.
net/ratelimit/varyby.go:68
↓ 2 callersMethodLastName
LastName generates last name
util/pseudo/names.go:45
↓ 2 callersMethodLatitude
Latitude generates latitude (from -90.0 to 90.0)
util/pseudo/geo.go:4
↓ 2 callersMethodLeast
()
sql/dml/condition.go:411
↓ 2 callersMethodLen
Len returns the number of processed Hashes.
sync/suspend/state.go:84
↓ 2 callersMethodLen
Len returns the length
util/slices/int64.go:33
↓ 2 callersFunctionLenInt
(i int64)
util/byteconv/int.go:73
↓ 2 callersMethodLimit
Limit sets a limit for the statement; overrides any existing LIMIT. Don't build a pagination with offset or you go straight to hell.
sql/dml/select.go:307
↓ 2 callersMethodLoadDataInfile
LoadDataInfile loads a local CSV file into a MySQL table. For more details please read https://dev.mysql.com/doc/refman/5.7/en/load-data.html Files mu
sql/ddl/table.go:467
↓ 2 callersFunctionLoadStringEntities
LoadStringEntities executes a SELECT query and returns a slice containing columns names and its string values
_codegen/database.go:316
↓ 2 callersMethodLogout
Logout adds a token securely to a blockList with the expiration duration. If the JTI or token ID is empty or missing, an error gets returned of behavi
net/jwt/service.go:123
↓ 2 callersMethodLongitude
Longitude generates longitude (from -180 to 180)
util/pseudo/geo.go:32
↓ 2 callersMethodLookup
Lookup returns a functional option factory identified by name or an error if the entry doesn't exists. May return a NotFound error behaviour.
net/internal/scopedservice/options_generic.go:240
↓ 2 callersFunctionMakeDecimalFloat64
MakeDecimalFloat64 converts a float64 to Decimal. Example: MakeDecimalFloat64(123.45678901234567).String() // output: "123.45678901234567" MakeDeci
storage/null/decimal.go:89
↓ 2 callersMethodMakeObserver
MakeObserver transforms and validates the Configuration data into a functional observer for an event and a specific route.
config/observer/json.go:149
↓ 2 callersMethodMaleFirstName
MaleFirstName generates male first name
util/pseudo/names.go:16
↓ 2 callersMethodMarshalEasyJSON
MarshalEasyJSON supports easyjson.Marshaler interface
storage/null/easyjson_easyjson_test.go:88
↓ 2 callersMethodMarshalTo
(dAtA []byte)
store/entities_gen.pb.go:322
↓ 2 callersMethodMarshalTo
(dAtA []byte)
store/entities_gen.pb.go:352
↓ 2 callersMethodMarshalTo
(dAtA []byte)
store/entities_gen.pb.go:412
↓ 2 callersMethodMarshalTo
(dAtA []byte)
store/entities_gen.pb.go:442
↓ 2 callersMethodMarshalTo
(dAtA []byte)
store/entities_gen.pb.go:519
← previousnext →1,201–1,300 of 7,620, ranked by callers