Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/corestoreio/pkg
/ functions
Functions
7,620 in github.com/corestoreio/pkg
⨍
Functions
7,620
◇
Types & classes
965
↓ 1 callers
Method
FmtInt64
FmtInt formats an integer according to the format pattern.
i18n/number.go:66
↓ 1 callers
Method
ForUpdate
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 callers
Function
FromContextQueryOptions
FromContextQueryOptions returns the options from the context.
sql/dml/events.go:39
↓ 1 callers
Function
FromEnvVar
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 callers
Method
FromRequest
FromRequest returns the valid non-empty store code. Returns an empty store code on all other cases.
net/runmode/code_processor.go:41
↓ 1 callers
Function
FromString
FromString returns the Type from a string: default, websites or stores. Opposite of FromType.
store/scope/type.go:172
↓ 1 callers
Method
FromString
(s string)
sql/dml/example_columnMapper_test.go:60
↓ 1 callers
Method
FromValues
(values Values)
sql/urlvalues/pager.go:26
↓ 1 callers
Method
FrontendInput
()
eav/attribute.go:60
↓ 1 callers
Method
FullNameWithPrefix
FullNameWithPrefix generates prefixed full name if prefixes for the given language are available
util/pseudo/names.go:112
↓ 1 callers
Method
FullNameWithSuffix
FullNameWithSuffix generates suffixed full name if suffixes for the given language are available
util/pseudo/names.go:134
↓ 1 callers
Method
Func
Func extracts the function
_codegen/config.go:182
↓ 1 callers
Function
FwordWrap
FwordWrap same as WordWrap but writes into a buffer.
util/strs/ww.go:56
↓ 1 callers
Method
GenderAbbrev
GenderAbbrev returns first downcased letter of the random gender
util/pseudo/personal.go:13
↓ 1 callers
Method
Get
Get uses an AttributeIndex to return an attribute or an error. Use type assertion to convert to Attributer.
eav/attribute.go:340
↓ 1 callers
Method
Get
(i AttributeIndex)
eav/entity_type.go:55
↓ 1 callers
Method
GetAllOptions
GetAllOptions returns an option slice
eav/attribute_source.go:86
↓ 1 callers
Function
GetEavValueTables
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 callers
Method
GetEntityTablePrefix
EntityTablePrefix eav table name prefix @see magento2/site/app/code/Magento/Eav/Model/Entity/AbstractEntity.php::getEntityTablePrefix()
eav/entity_type.go:182
↓ 1 callers
Function
GetEntityTypeCollection
GetEntityTypeCollection to avoid leaking global variable. Maybe returning a copy?
eav/entity_type.go:110
↓ 1 callers
Method
GetLimit
()
sql/urlvalues/pager.go:56
↓ 1 callers
Function
GetLocale
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 callers
Method
GetMasterPos
()
sql/mycanal/sync.go:260
↓ 1 callers
Method
GetOffset
()
sql/urlvalues/pager.go:74
↓ 1 callers
Method
GoString
GoString returns the Go types representation. See interface fmt.GoStringer
sql/ddl/columns.go:321
↓ 1 callers
Method
GoString
GoString compilable representation of a hash.
store/scope/typeid.go:60
↓ 1 callers
Method
GroupIDs
GroupIDs returns a slice with the data or appends it to a slice. Auto generated.
store/entities_gen.go:372
↓ 1 callers
Method
Has
(hash []byte)
net/signed/header_transparent.go:30
↓ 1 callers
Function
HasLowerCase
HasLowerCase check if the string contains at least 1 lowercase. Empty string is valid.
util/validation/validator.go:359
↓ 1 callers
Function
HasUpperCase
HasUpperCase check if the string contians as least 1 uppercase. Empty string is valid.
util/validation/validator.go:367
↓ 1 callers
Method
Hash64
Hash64 computes the HighwayHash-64 checksum of data. Returns zero in case of an error. Usage as map key.
config/path.go:596
↓ 1 callers
Method
HexColor
HexColor generates hex color name
util/pseudo/general.go:80
↓ 1 callers
Method
HexColorShort
HexColorShort generates short hex color name
util/pseudo/general.go:85
↓ 1 callers
Method
Histogram
Histogram implements XStats interface
net/accesslog/access_log.go:45
↓ 1 callers
Method
Human
Human readable representation of the permissions
store/scope/perm.go:98
↓ 1 callers
Method
ID
ID returns a never seen before unique ID.
util/pseudo/general.go:90
↓ 1 callers
Method
IDs
IDs returns a slice with the data or appends it to a slice. Auto generated.
sql/dmlgen/dmltestgeneratedMToM/fkm2n_gen.go:809
↓ 1 callers
Method
IDs
IDs returns a slice with the data or appends it to a slice. Auto generated.
sql/dmlgen/dmltestgenerated/output_gen.go:3591
↓ 1 callers
Method
IDs
(ret ...uint64)
sql/dml/dml_test.go:153
↓ 1 callers
Method
IDs
IDs returns a slice with the data or appends it to a slice. Auto generated.
config/storage/db_client_schema_gen.go:180
↓ 1 callers
Method
Ignore
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 callers
Method
In
In checks if test IP lies within the ranges.
net/ranges.go:67
↓ 1 callers
Function
InEpsilon
InEpsilon asserts that expected and actual have a relative error less than epsilon
util/assert/assertions.go:1204
↓ 1 callers
Function
InRangeFloat64
InRangeFloat64 returns true if value lies between left and right border.
util/validation/numerics.go:82
↓ 1 callers
Function
InRangeInt64
InRangeInt64 returns true if value lies between left and right border.
util/validation/numerics.go:66
↓ 1 callers
Function
InRangeUint64
InRangeUint64 returns true if value lies between left and right border.
util/validation/numerics.go:74
↓ 1 callers
Method
IndexLabel
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 callers
Method
Industry
Industry generates industry name
util/pseudo/jobs.go:33
↓ 1 callers
Method
InitSources
InitSources initializes the global variable Sources in all models. Changing a cfgsource.Slice here affects all other models.
directory/config_source.go:39
↓ 1 callers
Method
Insert
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated/output_gen.go:3842
↓ 1 callers
Method
Insert
Insert will place a new item at position i. Generated via tableToStruct.
_codegen/tableToStruct/_goast_generic/iter.go:120
↓ 1 callers
Method
Insert
(n *TableWebsite, i int)
_codegen/tableToStruct/_goast_generic_impl/zgen_tablewebsiteslice_iter.go:83
↓ 1 callers
Method
Insert
(n *TableStore, i int)
_codegen/tableToStruct/_goast_generic_impl/zgen_tablestoreslice_iter.go:83
↓ 1 callers
Method
Insert
(n *TableGroup, i int)
_codegen/tableToStruct/_goast_generic_impl/zgen_tablegroupslice_iter.go:83
↓ 1 callers
Method
InsertAll
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated5/tables_gen.go:835
↓ 1 callers
Method
InsertAthleteTeamMembers
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgeneratedMToM/fkm2n_gen.go:330
↓ 1 callers
Method
InsertAthleteTeams
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgeneratedMToM/fkm2n_gen.go:372
↓ 1 callers
Method
InsertAthletes
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgeneratedMToM/fkm2n_gen.go:557
↓ 1 callers
Method
InsertCatalogCategoryEntity
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated3/rev_fk_gen.go:410
↓ 1 callers
Method
InsertCustomerAddressEntities
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated/output_gen.go:2454
↓ 1 callers
Method
InsertCustomerAddressEntities
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated5/tables_gen.go:719
↓ 1 callers
Method
InsertCustomerEntityInts
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated5/tables_gen.go:761
↓ 1 callers
Method
InsertCustomerEntityVarchars
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated5/tables_gen.go:803
↓ 1 callers
Method
InsertCustomeraddressentities
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgeneratedMToM/fkm2n_gen.go:959
↓ 1 callers
Method
InsertCustomeraddressentities
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated3/rev_fk_gen.go:326
↓ 1 callers
Method
InsertSequenceCatalogCategory
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated3/rev_fk_gen.go:225
↓ 1 callers
Method
InsertStoreGroup
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated3/rev_fk_gen.go:495
↓ 1 callers
Method
InsertStoreGroups
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated3/rev_fk_gen.go:812
↓ 1 callers
Method
InsertStoreWebsite
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated3/rev_fk_gen.go:537
↓ 1 callers
Method
InsertStoreWebsite
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated3/rev_fk_gen.go:633
↓ 1 callers
Method
InsertStores
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated3/rev_fk_gen.go:675
↓ 1 callers
Method
InsertStores
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated3/rev_fk_gen.go:770
↓ 1 callers
Method
Int
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 callers
Method
Int
(name string)
sql/urlvalues/values.go:50
↓ 1 callers
Method
Int16
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 callers
Method
Int64
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 callers
Method
Int8
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 callers
Method
Intersect
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 callers
Function
IsASCII
IsASCII check if the string contains ASCII chars only. Empty string is valid.
util/validation/validator.go:602
↓ 1 callers
Function
IsAlpha
IsAlpha check if the string contains only letters (a-zA-Z). Empty string is valid.
util/validation/validator.go:160
↓ 1 callers
Function
IsAlphanumeric
IsAlphanumeric check if the string contains only letters and numbers. Empty string is valid.
util/validation/validator.go:197
↓ 1 callers
Function
IsBool
IsBool check if the string is a bool. Empty string is valid.
util/validation/validator.go:402
↓ 1 callers
Function
IsByteLength
IsByteLength check if the string's length (in bytes) falls in a range.
util/validation/validator.go:448
↓ 1 callers
Function
IsCIDR
IsCIDR check if the string is an valid CIDR notiation (IPV4 & IPV6)
util/validation/validator.go:837
↓ 1 callers
Function
IsCreditCard
IsCreditCard check if the string is a credit card.
util/validation/validator.go:523
↓ 1 callers
Function
IsDataURI
IsDataURI checks if a string is base64 encoded data URI such as an image
util/validation/validator.go:688
↓ 1 callers
Method
IsDefined
IsDefined implements easyjson.Optional interface, same as function IsZero of this type.
storage/null/easyjson.go:39
↓ 1 callers
Function
IsDialString
IsDialString validates the given string for usage with the various Dial() functions
util/validation/validator.go:803
↓ 1 callers
Function
IsEmailRegexp
IsEmailRegexp runs a complex regex check if the string is an email.
util/validation/validator.go:66
↓ 1 callers
Function
IsEmailSimple
IsEmailSimple checks if the str contains one @.
util/validation/validator.go:72
↓ 1 callers
Method
IsEmpty
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 callers
Method
IsEmpty
IsEmpty returns true when its length is equal to zero.
config/value.go:545
↓ 1 callers
Method
IsEqual
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 callers
Function
IsExistingEmail
IsExistingEmail check if the string is an email of existing domain. Looks up the MX record.
util/validation/validator.go:84
↓ 1 callers
Method
IsFieldPrivate
(dbColumnName string)
sql/dmlgen/table.go:73
↓ 1 callers
Function
IsFilePath
IsFilePath check is a string is Win or Unix file path and returns it's type.
util/validation/validator.go:673
↓ 1 callers
Function
IsFloat
IsFloat check if the string is a float.
util/validation/validator.go:411
↓ 1 callers
Function
IsFullWidth
IsFullWidth check if the string contains any full-width chars. Empty string is valid.
util/validation/validator.go:618
↓ 1 callers
Method
IsGlobal
()
catalog/catattr/attribute.go:38
↓ 1 callers
Function
IsHalfWidth
IsHalfWidth check if the string contains any half-width chars. Empty string is valid.
util/validation/validator.go:626
← previous
next →
1,901–2,000 of 7,620, ranked by callers