MCPcopy Create free account

hub / github.com/corestoreio/pkg / functions

Functions7,620 in github.com/corestoreio/pkg

↓ 1 callersFunctionIsHash
IsHash checks if a string is a hash of type algorithm. Algorithm is one of ['md4', 'md5', 'sha1', 'sha256', 'sha384', 'sha512', 'ripemd128', 'ripemd16
util/validation/validator.go:761
↓ 1 callersFunctionIsHexcolor
IsHexcolor check if the string is a hexadecimal color.
util/validation/validator.go:313
↓ 1 callersFunctionIsHost
IsHost checks if the string is a valid IP (both v4 and v6) or a valid DNS name
util/validation/validator.go:856
↓ 1 callersFunctionIsIPv4
IsIPv4 check if the string is an IP version 4.
util/validation/validator.go:825
↓ 1 callersFunctionIsIPv6
IsIPv6 check if the string is an IP version 6.
util/validation/validator.go:831
↓ 1 callersFunctionIsISBN10
IsISBN10 check if the string is an ISBN version 10.
util/validation/validator.go:552
↓ 1 callersFunctionIsISBN13
IsISBN13 check if the string is an ISBN version 13.
util/validation/validator.go:557
↓ 1 callersFunctionIsISO3166Alpha2
IsISO3166Alpha2 checks if a string is valid two-letter country code
util/validation/validator.go:697
↓ 1 callersFunctionIsISO3166Alpha3
IsISO3166Alpha3 checks if a string is valid three-letter country code
util/validation/validator.go:707
↓ 1 callersFunctionIsISO4217
IsISO4217 check if string is valid ISO currency code. Code must be upper case.
util/validation/validator.go:933
↓ 1 callersFunctionIsISO693Alpha2
IsISO693Alpha2 checks if a string is valid two-letter language code
util/validation/validator.go:717
↓ 1 callersFunctionIsISO693Alpha3b
IsISO693Alpha3b checks if a string is valid three-letter language code.
util/validation/validator.go:727
↓ 1 callersFunctionIsIn
IsIn check if string str is a member of the set of strings params
util/validation/validator.go:949
↓ 1 callersFunctionIsLatitude
IsLatitude check if a string is valid latitude.
util/validation/validator.go:866
↓ 1 callersFunctionIsLongitude
IsLongitude check if a string is valid longitude.
util/validation/validator.go:871
↓ 1 callersFunctionIsLowerCase
IsLowerCase check if the string is lowercase. Empty string is valid.
util/validation/validator.go:343
↓ 1 callersFunctionIsMAC
IsMAC check if a string is valid MAC address. Possible MAC formats: 01:23:45:67:89:ab 01:23:45:67:89:ab:cd:ef 01-23-45-67-89-ab 01-23-45-67-89-ab-cd-e
util/validation/validator.go:850
↓ 1 callersMethodIsMoney
IsMoney checks if a column contains a MySQL decimal or float type and if the column name has a special naming. This function needs a lot of care ...
sql/ddl/columns.go:554
↓ 1 callersFunctionIsMongoID
IsMongoID check if the string is a valid hex-encoded representation of a MongoDB ObjectId.
util/validation/validator.go:861
↓ 1 callersFunctionIsMultibyte
IsMultibyte check if the string contains one or more multibyte chars. Empty string is valid.
util/validation/validator.go:594
↓ 1 callersFunctionIsNatural
IsNatural returns true if value is natural number (positive and whole)
util/validation/numerics.go:95
↓ 1 callersFunctionIsNegative
IsNegative returns true if value < 0
util/validation/numerics.go:46
↓ 1 callersFunctionIsNonNegative
IsNonNegative returns true if value >= 0
util/validation/numerics.go:56
↓ 1 callersFunctionIsNonPositive
IsNonPositive returns true if value <= 0
util/validation/numerics.go:61
↓ 1 callersFunctionIsNotEmpty
IsNotEmpty check if the string is not empty.
util/validation/validator.go:438
↓ 1 callersFunctionIsNotEmptyTrimSpace
IsNotEmptyTrimSpace check if the white space trimmed string is not empty.
util/validation/validator.go:443
↓ 1 callersFunctionIsNumeric
IsNumeric check if the string contains only numbers. Empty string is valid.
util/validation/validator.go:232
↓ 1 callersMethodIsOffline
IsOffline checks if SMTP sending for the current scope ID has been deactivated. If disabled the output will be logged.
email/daemon.go:235
↓ 1 callersFunctionIsPrintableASCII
IsPrintableASCII check if the string contains printable ASCII chars only. Empty string is valid.
util/validation/validator.go:610
↓ 1 callersFunctionIsRFC3339
IsRFC3339 check if string is valid timestamp value according to RFC3339
util/validation/validator.go:923
↓ 1 callersFunctionIsRGBcolor
IsRGBcolor check if the string is a valid RGB color in form rgb(RRR, GGG, BBB).
util/validation/validator.go:338
↓ 1 callersMethodIsRealEav
IsRealEav checks if those types which have an attribute model and therefore are a real EAV. sales* tables are not real EAV tables as they are already
eav/entity_type.go:146
↓ 1 callersFunctionIsRequestURI
IsRequestURI check if the string rawurl, assuming it was received in an HTTP request, is an absolute URI or an absolute path.
util/validation/validator.go:154
↓ 1 callersFunctionIsRequestURL
IsRequestURL check if the string rawurl, assuming it was received in an HTTP request, is a valid URL confirm to RFC 3986
util/validation/validator.go:140
↓ 1 callersFunctionIsRsaPublicKey
IsRsaPublicKey check if a string is valid public key with provided length
util/validation/validator.go:876
↓ 1 callersFunctionIsSSN
IsSSN will validate the given string as a U.S. Social Security Number
util/validation/validator.go:904
↓ 1 callersFunctionIsSemver
IsSemver check if string is valid semantic version
util/validation/validator.go:912
↓ 1 callersMethodIsSet
IsSet returns true if the entity has non-empty primary keys.
sql/dmlgen/dmltestgenerated/output_gen.go:1032
↓ 1 callersMethodIsSet
IsSet returns true if the entity has non-empty primary keys.
sql/dmlgen/dmltestgenerated/output_gen.go:1575
↓ 1 callersMethodIsSet
IsSet returns true if the entity has non-empty primary keys.
sql/dmlgen/dmltestgenerated/output_gen.go:2095
↓ 1 callersMethodIsSet
IsSet returns true if the entity has non-empty primary keys.
sql/dmlgen/dmltestgenerated/output_gen.go:2682
↓ 1 callersMethodIsSet
IsSet returns true if the entity has non-empty primary keys.
sql/dmlgen/dmltestgenerated/output_gen.go:3253
↓ 1 callersMethodIsSet
IsSet returns true if the entity has non-empty primary keys.
sql/dmlgen/dmltestgenerated/output_gen.go:3887
↓ 1 callersMethodIsSet
IsSet returns true if the entity has non-empty primary keys.
sql/dmlgen/dmltestgenerated/output_gen.go:4303
↓ 1 callersMethodIsSet
IsSet returns true if the entity has non-empty primary keys.
sql/dmlgen/dmltestgenerated4/db_part_query_gen.go:385
↓ 1 callersMethodIsSet
IsSet returns true if the entity has non-empty primary keys.
sql/dmlgen/dmltestgenerated4/db_part_query_gen.go:632
↓ 1 callersMethodIsSet
IsSet returns true if the entity has non-empty primary keys.
sql/dmlgen/dmltestgenerated4/db_part_query_gen.go:819
↓ 1 callersMethodIsSet
IsSet returns true if the entity has non-empty primary keys.
sql/dmlgen/dmltestgenerated5/tables_gen.go:506
↓ 1 callersMethodIsSet
IsSet returns true if the entity has non-empty primary keys.
sql/dmlgen/dmltestgenerated5/tables_gen.go:1002
↓ 1 callersMethodIsSet
IsSet returns true if the entity has non-empty primary keys.
sql/dmlgen/dmltestgenerated5/tables_gen.go:1338
↓ 1 callersMethodIsSet
IsSet returns true if the entity has non-empty primary keys.
sql/dmlgen/dmltestgenerated5/tables_gen.go:1813
↓ 1 callersMethodIsStatic
IsStatic checks if an attribute is a static one. Considers websiteID.
eav/attribute.go:211
↓ 1 callersMethodIsStatic
()
eav/attribute_backend.go:23
↓ 1 callersFunctionIsURL
IsURL check if the string is an URL.
util/validation/validator.go:114
↓ 1 callersFunctionIsUTFDigit
IsUTFDigit check if the string contains only unicode radix-10 decimal digits. Empty string is valid.
util/validation/validator.go:274
↓ 1 callersFunctionIsUTFLetter
IsUTFLetter check if the string contains only unicode letter characters. Similar to IsAlpha but for all languages. Empty string is valid.
util/validation/validator.go:183
↓ 1 callersFunctionIsUTFLetterNumeric
IsUTFLetterNumeric check if the string contains only unicode letters and numbers. Empty string is valid.
util/validation/validator.go:219
↓ 1 callersFunctionIsUTFNumeric
IsUTFNumeric check if the string contains only unicode numbers of any kind. Numbers can be 0-9 but also Fractions ¾,Roman Ⅸ and Hangzhou 〩. Empty stri
util/validation/validator.go:254
↓ 1 callersFunctionIsUUID
IsUUID check if the string is a UUID (version 3, 4 or 5). Does not use regex. Highly optimized.
util/validation/validator.go:516
↓ 1 callersFunctionIsUUIDv3
IsUUIDv3 check if the string is a UUID version 3. Does not use regex. Highly optimized.
util/validation/validator.go:478
↓ 1 callersFunctionIsUUIDv4
IsUUIDv4 check if the string is a UUID version 4. Does not use regex. Highly optimized.
util/validation/validator.go:486
↓ 1 callersFunctionIsUUIDv5
IsUUIDv5 check if the string is a UUID version 5. Does not use regex. Highly optimized.
util/validation/validator.go:501
↓ 1 callersFunctionIsUpperCase
IsUpperCase check if the string is uppercase. Empty string is valid.
util/validation/validator.go:351
↓ 1 callersMethodIsValid
IsValid checks if the scope and its ID are valid.
store/scope/typeid.go:206
↓ 1 callersMethodIsValid
IsValid checks if the object has been set up correctly.
config/service.go:513
↓ 1 callersFunctionIsVariableWidth
IsVariableWidth check if the string contains a mixture of full and half-width chars. Empty string is valid.
util/validation/validator.go:634
↓ 1 callersMethodIsZero
IsZero returns true for invalid Uint16's, for future omitempty support (Go 1.4?) A non-null Uint16 with a 0 value will not be considered zero.
storage/null/uint16.go:199
↓ 1 callersMethodIsZero
IsZero returns true for invalid Int64's, for future omitempty support (Go 1.4?) A non-null Int64 with a 0 value will not be considered zero.
storage/null/int64.go:194
↓ 1 callersMethodIsZero
IsZero returns true for invalid Float64s, for future omitempty support (Go 1.4?) A non-null Float64 with a 0 value will not be considered zero.
storage/null/float64.go:202
↓ 1 callersMethodIsZero
IsZero returns true for invalid Uint64's, for future omitempty support (Go 1.4?) A non-null Uint64 with a 0 value will not be considered zero.
storage/null/uint64.go:192
↓ 1 callersMethodIsZero
IsZero returns true for invalid Uint32's, for future omitempty support (Go 1.4?) A non-null Uint32 with a 0 value will not be considered zero.
storage/null/uint32.go:199
↓ 1 callersMethodIsZero
IsZero returns true for invalid Uint8's, for future omitempty support (Go 1.4?) A non-null Uint8 with a 0 value will not be considered zero.
storage/null/uint8.go:199
↓ 1 callersMethodIsZero
IsZero returns true for invalid Int32's, for future omitempty support (Go 1.4?) A non-null Int32 with a 0 value will not be considered zero.
storage/null/int32.go:197
↓ 1 callersMethodIsZero
IsZero returns true for invalid Int8's, for future omitempty support (Go 1.4?) A non-null Int8 with a 0 value will not be considered zero.
storage/null/int8.go:200
↓ 1 callersMethodIsZero
IsZero returns true for invalid Int16's, for future omitempty support (Go 1.4?) A non-null Int16 with a 0 value will not be considered zero.
storage/null/int16.go:199
↓ 1 callersMethodItems
Items returns all the values for the cache, ordered from most recently used to last recently used.
storage/lru/lru_cache.go:239
↓ 1 callersMethodJobTitle
JobTitle generates job title
util/pseudo/jobs.go:23
↓ 1 callersMethodKeys
Keys if argument keys has been provided the map keys will be appended to the slice otherwise a new slice gets returned. The returned slice has a rando
sql/ddl/variables.go:126
↓ 1 callersMethodKeys
(ret ...string)
config/service_test.go:536
↓ 1 callersMethodLanguage
Language generates random human language
util/pseudo/personal.go:22
↓ 1 callersMethodLastInsertId
()
sql/dml/dbr.go:1449
↓ 1 callersMethodLastInsertId
()
sql/dmltest/connect_test.go:71
↓ 1 callersMethodLatitudeDegrees
LatitudeDegrees generates latitude degrees (from -90 to 90)
util/pseudo/geo.go:9
↓ 1 callersMethodLatitudeDirection
LatitudeDirection generates latitude direction (N(orth) o S(outh))
util/pseudo/geo.go:24
↓ 1 callersMethodLatitudeMinutes
LatitudeMinutes generates latitude minutes (from 0 to 60)
util/pseudo/geo.go:14
↓ 1 callersMethodLatitudeSeconds
LatitudeSeconds generates latitude seconds (from 0 to 60)
util/pseudo/geo.go:19
↓ 1 callersMethodLength
Length returns how many elements are in the cache
storage/lru/lru_cache.go:186
↓ 1 callersMethodLoad
(ctx context.Context, dbm *DBM, arg SalesOrderStatusStateLoadArgs, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated/output_gen.go:3784
↓ 1 callersMethodLoad
Load creates the configuration models for each PkgBackend field. Internal mutex will protect the fields during loading. The argument Sections will be
directory/config_backend.go:175
↓ 1 callersMethodLoadAll
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated5/tables_gen.go:848
↓ 1 callersMethodLoadAthleteTeamMembers
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgeneratedMToM/fkm2n_gen.go:353
↓ 1 callersMethodLoadAthleteTeams
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgeneratedMToM/fkm2n_gen.go:395
↓ 1 callersMethodLoadAthletes
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgeneratedMToM/fkm2n_gen.go:580
↓ 1 callersMethodLoadByCode
(dbrSess *dbr.Session, code string, cbs ...dbr.SelectEvent)
eav/entity_type.go:132
↓ 1 callersFunctionLoadCSV
LoadCSV loads a csv file for mocked database testing. Like github.com/DATA-DOG/go-sqlmock does. CSV file should be comma separated.
sql/dmltest/csv.go:83
↓ 1 callersMethodLoadCatalogCategoryEntity
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated3/rev_fk_gen.go:433
↓ 1 callersMethodLoadCustomerAddressEntities
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated/output_gen.go:2477
↓ 1 callersMethodLoadCustomerAddressEntities
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated5/tables_gen.go:742
↓ 1 callersMethodLoadCustomerEntityInts
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated5/tables_gen.go:784
↓ 1 callersMethodLoadCustomerEntityVarchars
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated5/tables_gen.go:826
← previousnext →2,001–2,100 of 7,620, ranked by callers