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
RateLimit
(key string, quantity int)
net/ratelimit/service_test.go:42
↓ 1 callers
Method
Read
(p []byte)
util/hashpool/hashpool_test.go:130
↓ 1 callers
Method
ReadFrom
ReadFrom writes r into the underlying pipe
net/responseproxy/pipe_writer.go:123
↓ 1 callers
Function
Reduce
(s []T, init T, f func(T, T) T)
generic/generic.go:63
↓ 1 callers
Method
Reduce
Reduce reduces itself containing all strings in the slice that satisfy the predicate f.
util/slices/string.go:119
↓ 1 callers
Method
Register
Register adds another functional option factory to the internal register. Overwrites existing entries.
net/internal/scopedservice/options_generic.go:211
↓ 1 callers
Function
RegisterModifier
RegisterModifier adds a new modification function to the global registry and might overwrite previously set entries. Access to the global registry can
config/observer/modifier.go:60
↓ 1 callers
Function
RegisterStoreServiceHandler
RegisterStoreServiceHandler registers the http handlers for service StoreService to "mux". The handlers forward requests to the grpc endpoint over "co
store/service.pb.gw.go:318
↓ 1 callers
Function
RegisterStoreServiceHandlerClient
RegisterStoreServiceHandlerClient registers the http handlers for service StoreService to "mux". The handlers forward requests to the grpc endpoint ov
store/service.pb.gw.go:327
↓ 1 callers
Function
RegisterValidator
RegisterValidator adds a custom string validation function to the global registry for later use with function NewValidator. Adding an entry with an al
config/observer/validator.go:77
↓ 1 callers
Method
Reset
Reset resets the internal argument cache for reuse. Avoids lots of allocations.
sql/dml/interpolate.go:184
↓ 1 callers
Method
Reset
()
sql/myreplicator/parser.go:49
↓ 1 callers
Method
Reset
Reset resets the struct to its empty fields.
sql/ddl/foreign_key.go:80
↓ 1 callers
Method
Reset
()
sync/suspend/state_test.go:221
↓ 1 callers
Function
ResponseStatus
ResponseStatus checks the context for timeout, canceled, ok or error. Used in WithAccessLog().
net/accesslog/access_log.go:106
↓ 1 callers
Function
RestoreAsset
RestoreAsset restores an asset under the given directory
util/pseudo/bindata.go:6519
↓ 1 callers
Function
RestoreAsset
RestoreAsset restores an asset under the given directory
util/naughtystrings/internal/resource.go:1367
↓ 1 callers
Function
Reverse
(s []T)
generic/generic.go:14
↓ 1 callers
Function
ReverseKeyColumnUsage
ReverseKeyColumnUsage reverses the argument to a new key column usage collection. E.g. customer_entity, catalog_product_entity and other tables have a
sql/ddl/foreign_key.go:256
↓ 1 callers
Function
Runes
* @todo implmement https://github.com/magento/magento2/blob/master/lib%2Finternal%2FMagento%2FFramework%2FFilter%2FTranslit.php#L345 needs maybe a r
util/translit/translit.go:27
↓ 1 callers
Function
SQLIfNull
SQLIfNull creates an IFNULL expression. Argument count can be either 1, 2 or 4. A single expression can contain a qualified or unqualified identifier.
sql/dml/expression.go:45
↓ 1 callers
Method
Scan
Scan calls rows.Scan and builds an internal stack of sql.RawBytes for further processing and type conversion. Each function for a specific type conve
sql/dml/mapper.go:263
↓ 1 callers
Function
ScheduleWorkAt
ScheduleWorkAt runs the task t
sync/bgwork/scheduler.go:18
↓ 1 callers
Method
Segment
Segment generates an 0 < ID <= 255 from a TypeID. Only used within an array index to optimize map[] usage in high concurrent situations. Also known as
store/scope/typeid.go:227
↓ 1 callers
Method
Sentences
Sentences generates from 1 to 5 random sentences
util/pseudo/lorem_ipsum.go:98
↓ 1 callers
Method
Separators
Separators returns the number of separators
config/path.go:112
↓ 1 callers
Method
Serialize
(src interface{})
util/csjwt/encodeDecode.go:35
↓ 1 callers
Method
Serialize
Serialize encodes a value using encoding/json.
util/csjwt/encodeDecode.go:47
↓ 1 callers
Method
Set
Set takes a variadic amount of Group to set them to Bits
store/scope/perm.go:71
↓ 1 callers
Method
Set
(key string, value interface{})
util/csjwt/jwtclaim/map.go:108
↓ 1 callers
Method
SetCapacity
SetCapacity will set the capacity of the cache. If the capacity is smaller, and the current cache size exceed that capacity, the cache will be shrank.
storage/lru/lru_cache.go:158
↓ 1 callers
Method
SetColumns
SetColumns resets the SetClauses slice and adds the columns. Same behaviour as AddColumns.
sql/dml/update.go:72
↓ 1 callers
Function
SetCurrencyFormat
SetCurrencyFormat applies a format (e.g.: #,##0.00 ¤) to a Number. If you do not have set the second argument Symbols (will be merge into) then the de
i18n/currency.go:155
↓ 1 callers
Function
SetCurrencyFraction
SetCurrencyFraction sets the currency fractions. For details please see CurrencyFractions. Values below 0 will be reset to zero.
i18n/currency.go:176
↓ 1 callers
Function
SetCurrencyISO
SetCurrencyISO parses a 3-letter ISO 4217 code and sets it to the Currency struct. If parsing fails errors will be logged and falls back to DefaultCur
i18n/currency.go:115
↓ 1 callers
Function
SetCurrencySign
SetCurrencySign sets the currency sign.
i18n/currency.go:129
↓ 1 callers
Method
SetOptions
SendPlain sends a simple plain text email func (dm *Daemon) SendPlain(from, to, subject, body string) error { return dm.sendMsg(from, to, subject, bo
email/daemon.go:224
↓ 1 callers
Method
SetParseTime
(parseTime bool)
sql/myreplicator/parser.go:176
↓ 1 callers
Method
SetPtr
SetPtr sets v according to the rules.
storage/null/bool.go:189
↓ 1 callers
Method
SetPtr
SetPtr sets v according to the rules.
storage/null/uint16.go:189
↓ 1 callers
Method
SetPtr
SetPtr sets v according to the rules.
storage/null/int64.go:184
↓ 1 callers
Method
SetPtr
SetPtr sets v according to the rules.
storage/null/float64.go:192
↓ 1 callers
Method
SetPtr
SetPtr sets v according to the rules.
storage/null/uint64.go:182
↓ 1 callers
Method
SetPtr
SetPtr sets v according to the rules.
storage/null/string.go:186
↓ 1 callers
Method
SetPtr
SetPtr sets v according to the rules.
storage/null/time.go:160
↓ 1 callers
Method
SetPtr
SetPtr sets v according to the rules.
storage/null/uint32.go:189
↓ 1 callers
Method
SetPtr
SetPtr sets v according to the rules.
storage/null/uint8.go:189
↓ 1 callers
Method
SetPtr
SetPtr sets v according to the rules.
storage/null/int32.go:187
↓ 1 callers
Method
SetPtr
SetPtr sets v according to the rules.
storage/null/int8.go:190
↓ 1 callers
Method
SetPtr
SetPtr sets v according to the rules.
storage/null/int16.go:189
↓ 1 callers
Function
SetSendFunc
SetSendFunc lets you implements your email-sending function for e.g. to use any other third party API provider. Setting this option will remove the di
email/daemon_option.go:59
↓ 1 callers
Method
SetTimestampStringLocation
(timestampStringLocation *time.Location)
sql/myreplicator/parser.go:180
↓ 1 callers
Method
SetValid
SetValid changes this Uint16's value and also sets it to be non-null.
storage/null/uint16.go:175
↓ 1 callers
Method
SetValid
SetValid changes this Float64's value and also sets it to be non-null.
storage/null/float64.go:178
↓ 1 callers
Method
SetValid
SetValid changes this Uint64's value and also sets it to be non-null.
storage/null/uint64.go:168
↓ 1 callers
Method
SetValid
SetValid changes this String's value and also sets it to be non-null.
storage/null/string.go:172
↓ 1 callers
Method
SetValid
SetValid changes this Uint32's value and also sets it to be non-null.
storage/null/uint32.go:175
↓ 1 callers
Method
SetValid
SetValid changes this Uint8's value and also sets it to be non-null.
storage/null/uint8.go:175
↓ 1 callers
Method
SetValid
SetValid changes this Int32's value and also sets it to be non-null.
storage/null/int32.go:173
↓ 1 callers
Method
SetValid
SetValid changes this Int8's value and also sets it to be non-null.
storage/null/int8.go:176
↓ 1 callers
Method
SetValid
SetValid changes this Int16's value and also sets it to be non-null.
storage/null/int16.go:175
↓ 1 callers
Method
SetVerifyChecksum
(verify bool)
sql/myreplicator/parser.go:184
↓ 1 callers
Method
ShouldStartBytes
ShouldStartBytes same as ShouldStart.
sync/suspend/state.go:99
↓ 1 callers
Function
Sign
Sign returns signum of number: 1 in case of value > 0, -1 in case of value < 0, 0 otherwise
util/validation/numerics.go:35
↓ 1 callers
Function
SigningMethodFactory
SigningMethodFactory creates a new signing method by an algorithm. Supported algorithms are: ES, HS, PS and RS, all within 256-512 and they do not nee
util/csjwt/signing_method.go:58
↓ 1 callers
Method
SimplePassword
SimplePassword is a wrapper around Password, it generates password with the length from 6 to 12 symbols, with upper characters and numeric symbols all
util/pseudo/general.go:48
↓ 1 callers
Method
SingleConnection
SingleConnection runs all fns in a single connection and guarantees no change to the connection. Single session. If more than one `fns` gets added, th
sql/ddl/tables.go:764
↓ 1 callers
Method
Sort
Sort is a convenience method.
util/slices/int64.go:42
↓ 1 callers
Method
Sort
Sort is a convenience method.
util/slices/string.go:42
↓ 1 callers
Method
Sort
Sort convenience helper. Not thread safe.
config/elements.go:354
↓ 1 callers
Method
SortAll
SortAll recursively sorts all slices. Not thread safe.
config/elements.go:343
↓ 1 callers
Method
SortByBool
SortByBool sorts by field Bool in asc = 0 or desc != 0 direction
config/_cfgsource/slice.go:83
↓ 1 callers
Method
SortByFloat64
SortByFloat64 sorts by field Float64 in asc = 0 or desc != 0 direction
config/_cfgsource/slice.go:72
↓ 1 callers
Method
SortByInt
SortByInt sorts by field Int in asc = 0 or desc != 0 direction
config/_cfgsource/slice.go:61
↓ 1 callers
Method
SourceIDs
SourceIDs returns a slice with the data or appends it to a slice. Auto generated.
sql/dmlgen/dmltestgenerated/output_gen.go:1394
↓ 1 callers
Method
StartBackup
StartBackup enables, like the mysqlbinlog command line tool, a remote raw backup. Backup remote binlog from position (filename, offset) and write in b
sql/myreplicator/backup.go:17
↓ 1 callers
Method
StateAbbrev
StateAbbrev generates random state abbreviation
util/pseudo/addresses.go:47
↓ 1 callers
Method
States
States returns a slice with the data or appends it to a slice. Auto generated.
sql/dmlgen/dmltestgenerated/output_gen.go:4207
↓ 1 callers
Method
States
States returns a slice with the data or appends it to a slice. Auto generated.
sql/dmlgen/dmltestgenerated4/db_part_query_gen.go:755
↓ 1 callers
Method
Statuss
Statuss returns a slice with the data or appends it to a slice. Auto generated.
sql/dmlgen/dmltestgenerated/output_gen.go:4192
↓ 1 callers
Method
Statuss
Statuss returns a slice with the data or appends it to a slice. Auto generated.
sql/dmlgen/dmltestgenerated4/db_part_query_gen.go:740
↓ 1 callers
Method
StoreIDbyCodeInvoked
StoreIDbyCodeInvoked returns the number of StoreIDbyCode() call invocations.
store/mock/finder.go:85
↓ 1 callers
Method
StoreIDs
StoreIDs returns a slice with the data or appends it to a slice. Auto generated.
sql/dmlgen/dmltestgenerated/output_gen.go:1379
↓ 1 callers
Method
String
String reads a string value and appends it to the arguments slice or assigns the string value stored in sql.RawBytes to the pointer. See the documenta
sql/dml/mapper.go:1183
↓ 1 callers
Method
String
String transforms the rune into a string.
sql/dml/condition.go:69
↓ 1 callers
Method
String
String readable representation of the permissions
store/scope/perm.go:112
↓ 1 callers
Method
String
String joins the slice of strings separated by a comma. Only for debug.
_codegen/database.go:64
↓ 1 callers
Method
String
String human readable output via JSON, slow.
util/csjwt/jwtclaim/store.go:86
↓ 1 callers
Method
String
String human readable output via JSON, slow.
util/csjwt/jwtclaim/standard.go:202
↓ 1 callers
Method
String
()
config/elements.go:49
↓ 1 callers
Function
StringLength
StringLength check string's length (including multi byte strings)
util/validation/validator.go:943
↓ 1 callers
Method
Suffix
Prefix returns a random prefix for either a female or male, sometimes an empty prefix.
util/pseudo/names.go:70
↓ 1 callers
Method
Swap
Swap will satisfy the sort.Interface. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:1335
↓ 1 callers
Method
Swap
Swap will satisfy the sort.Interface. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:1867
↓ 1 callers
Method
Swap
Swap will satisfy the sort.Interface. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:2394
↓ 1 callers
Method
Swap
Swap will satisfy the sort.Interface. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:2994
↓ 1 callers
Method
Swap
Swap will satisfy the sort.Interface. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:3579
↓ 1 callers
Method
Swap
Swap will satisfy the sort.Interface. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:4180
↓ 1 callers
Method
Swap
Swap will satisfy the sort.Interface. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:4497
↓ 1 callers
Method
Swap
Swap will satisfy the sort.Interface. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:4740
← previous
next →
2,301–2,400 of 7,620, ranked by callers