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
↓ 2 callers
Method
MarshalTo
(dAtA []byte)
store/service.pb.go:966
↓ 2 callers
Method
MarshalTo
(dAtA []byte)
store/service.pb.go:997
↓ 2 callers
Method
MarshalTo
(dAtA []byte)
store/service.pb.go:1034
↓ 2 callers
Method
MarshalTo
(dAtA []byte)
store/service.pb.go:1060
↓ 2 callers
Method
MarshalTo
(dAtA []byte)
store/service.pb.go:1086
↓ 2 callers
Method
MarshalTo
(dAtA []byte)
store/service.pb.go:1117
↓ 2 callers
Method
MarshalTo
(dAtA []byte)
storage/null/null.enc.go:91
↓ 2 callers
Method
MarshalTo
(dAtA []byte)
config/observer/proto.pb.go:236
↓ 2 callers
Method
MarshalToSizedBuffer
(dAtA []byte)
storage/null/null.enc.go:26
↓ 2 callers
Method
MarshalToSizedBuffer
(dAtA []byte)
storage/null/null.enc.go:96
↓ 2 callers
Method
MarshalToSizedBuffer
(dAtA []byte)
storage/null/null.enc.go:139
↓ 2 callers
Method
MarshalToSizedBuffer
(dAtA []byte)
storage/null/null.enc.go:178
↓ 2 callers
Method
MarshalToSizedBuffer
(dAtA []byte)
storage/null/null.enc.go:216
↓ 2 callers
Method
MarshalToSizedBuffer
(dAtA []byte)
storage/null/null.enc.go:254
↓ 2 callers
Method
MarshalToSizedBuffer
(dAtA []byte)
storage/null/null.enc.go:292
↓ 2 callers
Method
MarshalToSizedBuffer
(dAtA []byte)
storage/null/null.enc.go:330
↓ 2 callers
Method
MarshalToSizedBuffer
(dAtA []byte)
storage/null/null.enc.go:368
↓ 2 callers
Method
MarshalToSizedBuffer
(dAtA []byte)
storage/null/null.enc.go:406
↓ 2 callers
Method
MarshalToSizedBuffer
(dAtA []byte)
storage/null/null.enc.go:444
↓ 2 callers
Method
MarshalToSizedBuffer
(dAtA []byte)
storage/null/null.enc.go:482
↓ 2 callers
Method
MarshalToSizedBufferVT
(dAtA []byte)
sql/urlvalues/urlvaluesproto/values_vtproto.pb.go:88
↓ 2 callers
Method
Merge
Merge merges n Sections into the current slice. Behaviour for duplicates: Last item wins. Not thread safe.
config/elements.go:157
↓ 2 callers
Method
ModTime
()
util/naughtystrings/internal/resource.go:42
↓ 2 callers
Method
MonthNum
MonthNum generates month number (from 1 to 12)
util/pseudo/dates.go:36
↓ 2 callers
Function
MustGetDSN
MustGetDSN returns the data source name from an environment variable or panics on error.
sql/dmltest/connect.go:46
↓ 2 callers
Function
MustMakeDecimalBytes
MustMakeDecimalBytes same behaviour as MakeDecimalBytes but panics on error.
storage/null/decimal.go:149
↓ 2 callers
Function
MustNew
MustNew same as New() but panics on error. Use only during app start up process.
net/jwt/service_generic.go:87
↓ 2 callers
Function
MustNewValidator
MustNewValidator same as NewValidator but panics on error.
config/observer/validator.go:173
↓ 2 callers
Function
MustSigningMethodFactory
MustSigningMethodFactory same as SigningMethodFactory but panics on error. You should only use the Must* functions during init process or testing.
util/csjwt/signing_method.go:98
↓ 2 callers
Method
NSetOptions
NSetOptions applies number options and returns the last applied previous option function. For more details please read here http://commandcenter.blogs
i18n/number.go:186
↓ 2 callers
Function
New
New DO NOT USE
net/internal/scopedservice/service_mock.go:33
↓ 2 callers
Function
New
New creates a new rate limit middleware. Default DeniedHandler returns http.StatusTooManyRequests. Default RateLimiterFactory is the NewGCRAMemStore
net/ratelimit/service.go:32
↓ 2 callers
Function
NewAddAttrTables
Implements interface eav.EntityTypeAdditionalAttributeTabler
_codegen/attribute.go:31
↓ 2 callers
Function
NewAttributeSource
NewAttributeSource creates a pointer to a new attribute source
eav/attribute_source.go:62
↓ 2 callers
Function
NewByBool
NewByBool creates a new slice with bool values
config/_cfgsource/new.go:118
↓ 2 callers
Function
NewConfigCurrency
NewConfigCurrency creates a new currency configuration type.
directory/config_models.go:31
↓ 2 callers
Function
NewConfigurations
NewConfigurations creates a new Configurations object.
config/observer/json.go:91
↓ 2 callers
Function
NewDBManager
NewDBManager returns a goified version of the MySQL/MariaDB table schema for the tables: catalog_product_index_eav_decimal_idx, core_configuration, c
sql/dmlgen/dmltestgenerated/output_gen.go:752
↓ 2 callers
Function
NewDBManager
NewDBManager returns a goified version of the MySQL/MariaDB table schema for the tables: core_configuration, sales_order_status_state, view_customer_
sql/dmlgen/dmltestgenerated4/db_part_query_gen.go:192
↓ 2 callers
Function
NewDetail
NewDetail returns a new instance of a Detail problem.
net/problem/detail.go:82
↓ 2 callers
Function
NewGenerator
NewGenerator creates a new instance of the SQL table code generator. The order of the applied options does not matter as they are getting sorted inter
sql/dmlgen/dmlgen.go:88
↓ 2 callers
Method
NewID
()
net/jwt/jti.go:26
↓ 2 callers
Function
NewModifier
NewModifier creates a new type specific modifier.
config/observer/modifier.go:88
↓ 2 callers
Function
NewNumber
NewNumber creates a new number type including the default Symbols table and default number format. You should only create one type and reuse the forma
i18n/number.go:172
↓ 2 callers
Function
NewOneTable
(db *sql.DB, mageVersion int, pkgName, table string)
_codegen/tableToStruct/table.go:42
↓ 2 callers
Function
NewService
NewService creates a new cache service. Arguments level1 and level2 define the cache level. For example level1 should be an LRU or another in-memory c
storage/objcache/service.go:214
↓ 2 callers
Function
NewSigningMethodES256
NewSigningMethodES256 creates a new 256bit ECDSA SHA instance and registers it.
util/csjwt/ecdsa.go:27
↓ 2 callers
Function
NewSigningMethodRS384
NewSigningMethodRS384 creates a new 384bit RSA SHA instance and registers it.
util/csjwt/rsa.go:27
↓ 2 callers
Function
NewSigningMethodRS512
NewSigningMethodRS512 creates a new 512bit RSA SHA instance and registers it.
util/csjwt/rsa.go:32
↓ 2 callers
Function
NewSrvOpt
(c objcache.Codecer, primeObjects ...any)
storage/objcache/internal/testing.go:50
↓ 2 callers
Function
NewStoreGroups
NewStoreGroups creates a new initialized collection. Auto generated.
store/entities_gen.go:280
↓ 2 callers
Function
NewStores
NewStores creates a new initialized collection. Auto generated.
store/entities_gen.go:76
↓ 2 callers
Function
NewTable
NewTable initializes a new table structure with minimal information and without a database connection.
sql/ddl/table.go:110
↓ 2 callers
Method
NullBools
(nv ...null.Bool)
sql/dml/interpolate.go:229
↓ 2 callers
Method
NullFloat64s
(nv ...null.Float64)
sql/dml/interpolate.go:225
↓ 2 callers
Method
NullInt32
NullInt32 reads an int32 value and appends it to the arguments slice or assigns the int32 value stored in sql.RawBytes to the pointer. See the documen
sql/dml/mapper.go:608
↓ 2 callers
Method
NullInt64s
(nv ...null.Int64)
sql/dml/interpolate.go:227
↓ 2 callers
Method
NullTimes
(nv ...null.Time)
sql/dml/interpolate.go:231
↓ 2 callers
Method
Op
COMPARISON OPERATOR Op sets a custom operator
sql/dml/condition.go:361
↓ 2 callers
Method
Open
(name string)
sql/dml/connection_callback_test.go:166
↓ 2 callers
Method
OuterJoin
OuterJoin creates an OUTER join construct. By default, the onConditions are glued together with AND.
sql/dml/delete.go:106
↓ 2 callers
Method
Paragraphs
Paragraphs generates from 1 to 5 paragraphs
util/pseudo/lorem_ipsum.go:121
↓ 2 callers
Method
ParagraphsN
ParagraphsN generates n paragraphs
util/pseudo/lorem_ipsum.go:112
↓ 2 callers
Method
Parse
Parse looks up the header or trailer for the HeaderKey Content-HMAC in an HTTP request and extracts the raw decoded signature. Errors can have the beh
net/signed/header_hmac.go:73
↓ 2 callers
Method
Parse
Parse looks up the header or trailer for the HeaderKey Content-Signature in an HTTP request and extracts the raw decoded signature. Errors can have th
net/signed/header_signature.go:99
↓ 2 callers
Function
ParseDateTime
ParseDateTime parses a string into a Time type. Empty string is considered NULL.
storage/null/time_mysql.go:71
↓ 2 callers
Function
ParseFloat
Float parses a byte-slice and returns the float it represents. If an invalid character is encountered, it will stop there.
util/byteconv/float.go:46
↓ 2 callers
Function
ParseUint
ParseUint is like strconv.ParseUint, but using a []byte.
util/byteconv/uint.go:26
↓ 2 callers
Method
PathCount
PathCount returns the number of different paths.
config/fake.go:59
↓ 2 callers
Method
Peek
Peek returns a value from the cache without changing the LRU order.
storage/lru/lru_cache.go:93
↓ 2 callers
Method
Phone
Phone generates random phone number using one of the formats format specified in phone_format file
util/pseudo/addresses.go:72
↓ 2 callers
Method
Prepare
(query string)
sql/dml/connection_callback_test.go:183
↓ 2 callers
Method
PrepareOptionFactory
PrepareOptionFactory creates a closure around the type Backend. The closure will be used during a scoped request to figure out the configuration depen
net/ratelimit/backendratelimit/options.go:26
↓ 2 callers
Method
ProcessAllowed
ProcessAllowed enables to adjust the ResponseWriter based on the new store ID. The variable newStoreID contains the new ID, which can also be 0. The c
net/runmode/code_processor.go:54
↓ 2 callers
Method
ProductName
ProductName generates product name
util/pseudo/products.go:9
↓ 2 callers
Method
Put
Put empties the buffer and returns it back to the pool. bp := NewTwin(512) buf := bp.Get() defer bp.Put(buf) // your code return buf.String
util/bufferpool/twin.go:132
↓ 2 callers
Method
PutCallBack
PutCallBack same as Put but executes fn after buf has been returned into the pool. Good use case when you might have multiple defers in your code.
util/bufferpool/twin.go:140
↓ 2 callers
Method
Read
Read implements Read for a lockedSource.
util/pseudo/locked_source.go:38
↓ 2 callers
Method
ReadFrom
(r io.Reader)
net/responseproxy/tee_writer.go:125
↓ 2 callers
Function
RealIP
RealIP extracts the remote address from a request and takes care of different headers in which an IP address can be stored. Checks if the IP in one of
net/request/realip.go:74
↓ 2 callers
Method
Redirect
Redirect redirects the request using http.Redirect with status code.
net/response/response.go:257
↓ 2 callers
Method
Reduce
Reduce reduces itself containing all int64s in the slice that satisfy the predicate f.
util/slices/int64.go:109
↓ 2 callers
Method
Reset
Reset clears the internal list of uint64(es). Will panic if called on an uninitialized State.
sync/suspend/state.go:77
↓ 2 callers
Function
SQLCase
SQLCase generates a CASE ... WHEN ... THEN ... ELSE ... END statement. `value` argument can be empty. defaultValue used in the ELSE part can also be e
sql/dml/expression.go:122
↓ 2 callers
Function
SQLIf
SQLIf writes a SQL IF() expression. IF(expr1,expr2,expr3) If expr1 is TRUE (expr1 <> 0 and expr1 <> NULL) then IF() returns expr2; otherwise it retu
sql/dml/expression.go:108
↓ 2 callers
Method
Scan
Scan satisfies the sql.Scanner interface for CSN. If a string starts with a supported split-character, this function will take that character to split
sql/dmltype/number.go:40
↓ 2 callers
Method
Scan
Scan satisfies the sql.Scanner interface for CSV. If a string starts with a supported split-character, this function will take that character to split
sql/dmltype/strings.go:70
↓ 2 callers
Method
Scan
Scan implements the Scanner interface.
storage/null/bool.go:54
↓ 2 callers
Method
Scoped
Scoped creates a new scope base configuration reader which has the implemented fall back hierarchy.
config/service.go:274
↓ 2 callers
Method
Seed
(seed uint64)
util/pseudo/locked_source.go:23
↓ 2 callers
Method
Select
Select creates a new SELECT statement. If "*" gets set as an argument, then all columns will be added to to list of columns.
sql/ddl/table.go:219
↓ 2 callers
Method
Send
Send sends a mail
email/daemon.go:186
↓ 2 callers
Method
Set
Set puts a value with its key. Database errors get logged as Info message. Enabled debug level logs the insert ID or rows affected.
config/storage/db_client.go:229
↓ 2 callers
Method
SetIfAbsent
SetIfAbsent will set the value in the cache if not present. If the value exists in the cache, we don't set it.
storage/lru/lru_cache.go:118
↓ 2 callers
Function
SetNumberFormat
SetNumberFormat applies a format to a Number. If you do not have set the second argument Symbols (will be merge into) then the default Symbols will be
i18n/number.go:120
↓ 2 callers
Method
SetRawMode
(mode bool)
sql/myreplicator/parser.go:172
↓ 2 callers
Method
SetValid
SetValid changes this Bool's value and also sets it to be non-null.
storage/null/bool.go:174
↓ 2 callers
Method
SetValid
SetValid changes this Int64's value and also sets it to be non-null.
storage/null/int64.go:170
↓ 2 callers
Method
Size
()
store/entities_gen.pb.go:548
↓ 2 callers
Method
Size
()
store/entities_gen.pb.go:588
← previous
next →
1,301–1,400 of 7,620, ranked by callers