MCPcopy Create free account

hub / github.com/corestoreio/pkg / functions

Functions7,620 in github.com/corestoreio/pkg

↓ 1 callersMethodFmtInt64
FmtInt formats an integer according to the format pattern.
i18n/number.go:66
↓ 1 callersMethodForUpdate
ForUpdate sets for index records the search encounters, locks the rows and any associated index entries, the same as if you issued an UPDATE statement
sql/dml/select.go:125
↓ 1 callersFunctionFromContextQueryOptions
FromContextQueryOptions returns the options from the context.
sql/dml/events.go:39
↓ 1 callersFunctionFromEnvVar
FromEnvVar parses an environment key into a config.Path. CONFIG__ETCD__CREDENTIALS__USER_NAME => scope.DefaultTypeID, etc/credentials/user_name
config/storage/env.go:59
↓ 1 callersMethodFromRequest
FromRequest returns the valid non-empty store code. Returns an empty store code on all other cases.
net/runmode/code_processor.go:41
↓ 1 callersFunctionFromString
FromString returns the Type from a string: default, websites or stores. Opposite of FromType.
store/scope/type.go:172
↓ 1 callersMethodFromString
(s string)
sql/dml/example_columnMapper_test.go:60
↓ 1 callersMethodFromValues
(values Values)
sql/urlvalues/pager.go:26
↓ 1 callersMethodFrontendInput
()
eav/attribute.go:60
↓ 1 callersMethodFullNameWithPrefix
FullNameWithPrefix generates prefixed full name if prefixes for the given language are available
util/pseudo/names.go:112
↓ 1 callersMethodFullNameWithSuffix
FullNameWithSuffix generates suffixed full name if suffixes for the given language are available
util/pseudo/names.go:134
↓ 1 callersMethodFunc
Func extracts the function
_codegen/config.go:182
↓ 1 callersFunctionFwordWrap
FwordWrap same as WordWrap but writes into a buffer.
util/strs/ww.go:56
↓ 1 callersMethodGenderAbbrev
GenderAbbrev returns first downcased letter of the random gender
util/pseudo/personal.go:13
↓ 1 callersMethodGet
Get uses an AttributeIndex to return an attribute or an error. Use type assertion to convert to Attributer.
eav/attribute.go:340
↓ 1 callersMethodGet
(i AttributeIndex)
eav/entity_type.go:55
↓ 1 callersMethodGetAllOptions
GetAllOptions returns an option slice
eav/attribute_source.go:86
↓ 1 callersFunctionGetEavValueTables
GetTables returns all tables from a database. AndWhere can be optionally applied. Only first index (0) will be added. func GetTables(dbrSess dbr.Sessi
_codegen/database.go:119
↓ 1 callersMethodGetEntityTablePrefix
EntityTablePrefix eav table name prefix @see magento2/site/app/code/Magento/Eav/Model/Entity/AbstractEntity.php::getEntityTablePrefix()
eav/entity_type.go:182
↓ 1 callersFunctionGetEntityTypeCollection
GetEntityTypeCollection to avoid leaking global variable. Maybe returning a copy?
eav/entity_type.go:110
↓ 1 callersMethodGetLimit
()
sql/urlvalues/pager.go:56
↓ 1 callersFunctionGetLocale
GetLocale generates a locale from a base and a region and may use an optional script. lang lang_script lang_script_region lang_region (aliases to lang
i18n/locale.go:94
↓ 1 callersMethodGetMasterPos
()
sql/mycanal/sync.go:260
↓ 1 callersMethodGetOffset
()
sql/urlvalues/pager.go:74
↓ 1 callersMethodGoString
GoString returns the Go types representation. See interface fmt.GoStringer
sql/ddl/columns.go:321
↓ 1 callersMethodGoString
GoString compilable representation of a hash.
store/scope/typeid.go:60
↓ 1 callersMethodGroupIDs
GroupIDs returns a slice with the data or appends it to a slice. Auto generated.
store/entities_gen.go:372
↓ 1 callersMethodHas
(hash []byte)
net/signed/header_transparent.go:30
↓ 1 callersFunctionHasLowerCase
HasLowerCase check if the string contains at least 1 lowercase. Empty string is valid.
util/validation/validator.go:359
↓ 1 callersFunctionHasUpperCase
HasUpperCase check if the string contians as least 1 uppercase. Empty string is valid.
util/validation/validator.go:367
↓ 1 callersMethodHash64
Hash64 computes the HighwayHash-64 checksum of data. Returns zero in case of an error. Usage as map key.
config/path.go:596
↓ 1 callersMethodHexColor
HexColor generates hex color name
util/pseudo/general.go:80
↓ 1 callersMethodHexColorShort
HexColorShort generates short hex color name
util/pseudo/general.go:85
↓ 1 callersMethodHistogram
Histogram implements XStats interface
net/accesslog/access_log.go:45
↓ 1 callersMethodHuman
Human readable representation of the permissions
store/scope/perm.go:98
↓ 1 callersMethodID
ID returns a never seen before unique ID.
util/pseudo/general.go:90
↓ 1 callersMethodIDs
IDs returns a slice with the data or appends it to a slice. Auto generated.
sql/dmlgen/dmltestgeneratedMToM/fkm2n_gen.go:809
↓ 1 callersMethodIDs
IDs returns a slice with the data or appends it to a slice. Auto generated.
sql/dmlgen/dmltestgenerated/output_gen.go:3591
↓ 1 callersMethodIDs
(ret ...uint64)
sql/dml/dml_test.go:153
↓ 1 callersMethodIDs
IDs returns a slice with the data or appends it to a slice. Auto generated.
config/storage/db_client_schema_gen.go:180
↓ 1 callersMethodIgnore
Ignore modifier enables errors that occur while executing the INSERT statement are getting ignored. For example, without IGNORE, a row that duplicates
sql/dml/insert.go:127
↓ 1 callersMethodIn
In checks if test IP lies within the ranges.
net/ranges.go:67
↓ 1 callersFunctionInEpsilon
InEpsilon asserts that expected and actual have a relative error less than epsilon
util/assert/assertions.go:1204
↓ 1 callersFunctionInRangeFloat64
InRangeFloat64 returns true if value lies between left and right border.
util/validation/numerics.go:82
↓ 1 callersFunctionInRangeInt64
InRangeInt64 returns true if value lies between left and right border.
util/validation/numerics.go:66
↓ 1 callersFunctionInRangeUint64
InRangeUint64 returns true if value lies between left and right border.
util/validation/numerics.go:74
↓ 1 callersMethodIndexLabel
IndexLabel checks if label l exists and returns its first position. Returns -1 when the label was not found.
config/_cfgsource/slice.go:190
↓ 1 callersMethodIndustry
Industry generates industry name
util/pseudo/jobs.go:33
↓ 1 callersMethodInitSources
InitSources initializes the global variable Sources in all models. Changing a cfgsource.Slice here affects all other models.
directory/config_source.go:39
↓ 1 callersMethodInsert
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated/output_gen.go:3842
↓ 1 callersMethodInsert
Insert will place a new item at position i. Generated via tableToStruct.
_codegen/tableToStruct/_goast_generic/iter.go:120
↓ 1 callersMethodInsert
(n *TableWebsite, i int)
_codegen/tableToStruct/_goast_generic_impl/zgen_tablewebsiteslice_iter.go:83
↓ 1 callersMethodInsert
(n *TableStore, i int)
_codegen/tableToStruct/_goast_generic_impl/zgen_tablestoreslice_iter.go:83
↓ 1 callersMethodInsert
(n *TableGroup, i int)
_codegen/tableToStruct/_goast_generic_impl/zgen_tablegroupslice_iter.go:83
↓ 1 callersMethodInsertAll
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated5/tables_gen.go:835
↓ 1 callersMethodInsertAthleteTeamMembers
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgeneratedMToM/fkm2n_gen.go:330
↓ 1 callersMethodInsertAthleteTeams
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgeneratedMToM/fkm2n_gen.go:372
↓ 1 callersMethodInsertAthletes
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgeneratedMToM/fkm2n_gen.go:557
↓ 1 callersMethodInsertCatalogCategoryEntity
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated3/rev_fk_gen.go:410
↓ 1 callersMethodInsertCustomerAddressEntities
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated/output_gen.go:2454
↓ 1 callersMethodInsertCustomerAddressEntities
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated5/tables_gen.go:719
↓ 1 callersMethodInsertCustomerEntityInts
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated5/tables_gen.go:761
↓ 1 callersMethodInsertCustomerEntityVarchars
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated5/tables_gen.go:803
↓ 1 callersMethodInsertCustomeraddressentities
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgeneratedMToM/fkm2n_gen.go:959
↓ 1 callersMethodInsertCustomeraddressentities
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated3/rev_fk_gen.go:326
↓ 1 callersMethodInsertSequenceCatalogCategory
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated3/rev_fk_gen.go:225
↓ 1 callersMethodInsertStoreGroup
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated3/rev_fk_gen.go:495
↓ 1 callersMethodInsertStoreGroups
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated3/rev_fk_gen.go:812
↓ 1 callersMethodInsertStoreWebsite
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated3/rev_fk_gen.go:537
↓ 1 callersMethodInsertStoreWebsite
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated3/rev_fk_gen.go:633
↓ 1 callersMethodInsertStores
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated3/rev_fk_gen.go:675
↓ 1 callersMethodInsertStores
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated3/rev_fk_gen.go:770
↓ 1 callersMethodInt
Int reads an int value and appends it to the arguments slice or assigns the int value stored in sql.RawBytes to the pointer. See the documentation for
sql/dml/mapper.go:412
↓ 1 callersMethodInt
(name string)
sql/urlvalues/values.go:50
↓ 1 callersMethodInt16
Int16 reads a int16 value and appends it to the arguments slice or assigns the int16 value stored in sql.RawBytes to the pointer. See the documentatio
sql/dml/mapper.go:506
↓ 1 callersMethodInt64
Int64 reads a int64 value and appends it to the arguments slice or assigns the int64 value stored in sql.RawBytes to the pointer. See the documentatio
sql/dml/mapper.go:442
↓ 1 callersMethodInt8
Int8 reads a int8 value and appends it to the arguments slice or assigns the int8 value stored in sql.RawBytes to the pointer. See the documentation f
sql/dml/mapper.go:541
↓ 1 callersMethodIntersect
Intersect switches the query type from UNION to INTERSECT. The result of an intersect is the intersection of right and left SELECT results, i.e. only
sql/dml/union.go:131
↓ 1 callersFunctionIsASCII
IsASCII check if the string contains ASCII chars only. Empty string is valid.
util/validation/validator.go:602
↓ 1 callersFunctionIsAlpha
IsAlpha check if the string contains only letters (a-zA-Z). Empty string is valid.
util/validation/validator.go:160
↓ 1 callersFunctionIsAlphanumeric
IsAlphanumeric check if the string contains only letters and numbers. Empty string is valid.
util/validation/validator.go:197
↓ 1 callersFunctionIsBool
IsBool check if the string is a bool. Empty string is valid.
util/validation/validator.go:402
↓ 1 callersFunctionIsByteLength
IsByteLength check if the string's length (in bytes) falls in a range.
util/validation/validator.go:448
↓ 1 callersFunctionIsCIDR
IsCIDR check if the string is an valid CIDR notiation (IPV4 & IPV6)
util/validation/validator.go:837
↓ 1 callersFunctionIsCreditCard
IsCreditCard check if the string is a credit card.
util/validation/validator.go:523
↓ 1 callersFunctionIsDataURI
IsDataURI checks if a string is base64 encoded data URI such as an image
util/validation/validator.go:688
↓ 1 callersMethodIsDefined
IsDefined implements easyjson.Optional interface, same as function IsZero of this type.
storage/null/easyjson.go:39
↓ 1 callersFunctionIsDialString
IsDialString validates the given string for usage with the various Dial() functions
util/validation/validator.go:803
↓ 1 callersFunctionIsEmailRegexp
IsEmailRegexp runs a complex regex check if the string is an email.
util/validation/validator.go:66
↓ 1 callersFunctionIsEmailSimple
IsEmailSimple checks if the str contains one @.
util/validation/validator.go:72
↓ 1 callersMethodIsEmpty
IsEmpty returns true when no field has been used in the Key struct. Error is excluded from the check.
util/csjwt/keys.go:77
↓ 1 callersMethodIsEmpty
IsEmpty returns true when its length is equal to zero.
config/value.go:545
↓ 1 callersMethodIsEqual
IsEqual does a constant time comparison of the underlying data with the input data `d`. Useful for passwords. Only equal when no error occurs.
config/value.go:539
↓ 1 callersFunctionIsExistingEmail
IsExistingEmail check if the string is an email of existing domain. Looks up the MX record.
util/validation/validator.go:84
↓ 1 callersMethodIsFieldPrivate
(dbColumnName string)
sql/dmlgen/table.go:73
↓ 1 callersFunctionIsFilePath
IsFilePath check is a string is Win or Unix file path and returns it's type.
util/validation/validator.go:673
↓ 1 callersFunctionIsFloat
IsFloat check if the string is a float.
util/validation/validator.go:411
↓ 1 callersFunctionIsFullWidth
IsFullWidth check if the string contains any full-width chars. Empty string is valid.
util/validation/validator.go:618
↓ 1 callersMethodIsGlobal
()
catalog/catattr/attribute.go:38
↓ 1 callersFunctionIsHalfWidth
IsHalfWidth check if the string contains any half-width chars. Empty string is valid.
util/validation/validator.go:626
← previousnext →1,901–2,000 of 7,620, ranked by callers