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
Function
NewBackend
NewBackend initializes the global Backend variable. See init()
_backend/config_backend_backend.go:434
↓ 1 callers
Function
NewBinlogSyncer
NewBinlogSyncer creates the BinlogSyncer with cfg.
sql/myreplicator/binlogsyncer.go:124
↓ 1 callers
Function
NewByString
NewByString creates a new ValueLabelSlice (VLS) from key,value list. It panics when arguments are imbalanced. Example: mySlice := NewValueLabelSlice
config/_cfgsource/new.go:23
↓ 1 callers
Function
NewCatalogProductIndexEAVDecimalIDXes
NewCatalogProductIndexEAVDecimalIDXes creates a new initialized collection. Auto generated.
sql/dmlgen/dmltestgenerated/output_gen.go:1074
↓ 1 callers
Function
NewConfigRedirectToBase
NewConfigRedirectToBase creates a new type.
_backend/config_models.go:33
↓ 1 callers
Function
NewConfigSigningMethod
NewConfigSigningMethod creates a new signing method configuration type.
net/jwt/backendjwt/models.go:33
↓ 1 callers
Function
NewConfigStructure
NewConfigStructure global configuration structure for this package. Used in frontend (to display the user all the settings) and in backend (scope chec
catalog/catconfig/structure.go:37
↓ 1 callers
Function
NewContentHMAC
NewContentHMAC creates a new header HMAC object with default hex encoding/decoding to write and parse the Content-HMAC field.
net/signed/header_hmac.go:45
↓ 1 callers
Function
NewCoreConfigurationCollection
NewCoreConfigurationCollection creates a new initialized collection. Auto generated.
config/storage/db_client_schema_gen.go:111
↓ 1 callers
Function
NewCoreConfigurations
NewCoreConfigurations creates a new initialized collection. Auto generated.
sql/dmlgen/dmltestgenerated/output_gen.go:1618
↓ 1 callers
Function
NewCoreConfigurations
NewCoreConfigurations creates a new initialized collection. Auto generated.
sql/dmlgen/dmltestgenerated4/db_part_query_gen.go:395
↓ 1 callers
Function
NewCurrency
NewCurrency creates a new Currency pointer with default settings. To change the symbols depending on the locale: see documentation.
i18n/currency.go:207
↓ 1 callers
Function
NewCurrencyISO
NewCurrencyISO creates a new Currency by parsing a 3-letter ISO 4217 currency code. It returns an error if s is not well-formed or not a recognized cu
directory/currency.go:27
↓ 1 callers
Function
NewCustomerAddressEntities
NewCustomerAddressEntities creates a new initialized collection. Auto generated.
sql/dmlgen/dmltestgeneratedMToM/fkm2n_gen.go:879
↓ 1 callers
Function
NewCustomerAddressEntities
NewCustomerAddressEntities creates a new initialized collection. Auto generated.
sql/dmlgen/dmltestgenerated/output_gen.go:2145
↓ 1 callers
Function
NewCustomerAddressEntities
NewCustomerAddressEntities creates a new initialized collection. Auto generated.
sql/dmlgen/dmltestgenerated5/tables_gen.go:517
↓ 1 callers
Function
NewCustomerEntities
NewCustomerEntities creates a new initialized collection. Auto generated.
sql/dmlgen/dmltestgeneratedMToM/fkm2n_gen.go:1082
↓ 1 callers
Function
NewCustomerEntities
NewCustomerEntities creates a new initialized collection. Auto generated.
sql/dmlgen/dmltestgenerated/output_gen.go:2745
↓ 1 callers
Function
NewCustomerEntities
NewCustomerEntities creates a new initialized collection. Auto generated.
sql/dmlgen/dmltestgenerated5/tables_gen.go:1011
↓ 1 callers
Function
NewCustomerEntityInts
NewCustomerEntityInts creates a new initialized collection. Auto generated.
sql/dmlgen/dmltestgenerated5/tables_gen.go:1376
↓ 1 callers
Function
NewCustomerEntityVarchars
NewCustomerEntityVarchars creates a new initialized collection. Auto generated.
sql/dmlgen/dmltestgenerated5/tables_gen.go:1852
↓ 1 callers
Function
NewDB
NewDB creates a new database backed storage service. It creates three prepared statements which are getting automatically closed after an idle time an
config/storage/db_client.go:100
↓ 1 callers
Function
NewDBManager
NewDBManager returns a goified version of the MySQL/MariaDB table schema for the tables: athlete, athlete_team, athlete_team_member, customer_address
sql/dmlgen/dmltestgeneratedMToM/fkm2n_gen.go:272
↓ 1 callers
Function
NewDBManager
NewDBManager returns a goified version of the MySQL/MariaDB table schema for the tables: customer_address_entity, customer_entity, customer_entity_in
sql/dmlgen/dmltestgenerated5/tables_gen.go:277
↓ 1 callers
Function
NewDmlgenTypesCollection
NewDmlgenTypesCollection creates a new initialized collection. Auto generated.
sql/dmlgen/dmltestgenerated/output_gen.go:3330
↓ 1 callers
Function
NewKeyFunc
NewKeyFunc creates a new function for token validation and specific key returning. This function checks only if the token algorithm matches the algori
util/csjwt/keys.go:51
↓ 1 callers
Function
NewOptionFactories
NewOptionFactories creates a new struct and initializes the internal map for the registration of different option factories.
net/internal/scopedservice/options_generic.go:191
↓ 1 callers
Function
NewPager
(values Values)
sql/urlvalues/pager.go:20
↓ 1 callers
Function
NewPriceScope
NewPriceScope defines the base currency scope ("Currency Setup" > "Currency Options" > "Base Currency"). can be 0 = Global or 1 = Website See constant
catalog/catconfig/models.go:42
↓ 1 callers
Method
NewRelations
()
sql/dmlgen/dmltestgenerated5/tables_gen.go:43
↓ 1 callers
Function
NewSalesOrderStatusStates
NewSalesOrderStatusStates creates a new initialized collection. Auto generated.
sql/dmlgen/dmltestgenerated/output_gen.go:3927
↓ 1 callers
Function
NewSalesOrderStatusStates
NewSalesOrderStatusStates creates a new initialized collection. Auto generated.
sql/dmlgen/dmltestgenerated4/db_part_query_gen.go:643
↓ 1 callers
Function
NewService
NewService creates a new store Service which handles websites, groups and stores. You must either provide the functional options or call LoadFromDB()
store/service.go:92
↓ 1 callers
Function
NewService
NewService creates a new fake service.
util/pseudo/fake.go:168
↓ 1 callers
Function
NewService
NewService creates the main new configuration for all scopes: default, website and store. Default Storage is a simple map[string]interface{}. A new go
config/service.go:99
↓ 1 callers
Function
NewSigningMethodES384
NewSigningMethodES384 creates a new 384bit ECDSA SHA instance and registers it.
util/csjwt/ecdsa.go:33
↓ 1 callers
Function
NewSigningMethodES512
NewSigningMethodES512 creates a new 512bit ECDSA SHA instance and registers it.
util/csjwt/ecdsa.go:39
↓ 1 callers
Function
NewSigningMethodHS384
NewSigningMethodHS384 creates a new 384bit HMAC SHA instance and registers it.
util/csjwt/hmac_sha.go:29
↓ 1 callers
Function
NewSigningMethodPS384
NewSigningMethodPS384 creates a new 384bit RSAPSS SHA instance and registers it.
util/csjwt/rsa_pss.go:39
↓ 1 callers
Function
NewSigningMethodPS512
NewSigningMethodPS512 creates a new 512bit RSAPSS SHA instance and registers it.
util/csjwt/rsa_pss.go:45
↓ 1 callers
Function
NewState
NewState creates a new idle State.
sync/suspend/state.go:55
↓ 1 callers
Function
NewStore
NewStore creates a new Store pointer and makes sure that all sub pointer types will also be created.
util/csjwt/jwtclaim/store.go:33
↓ 1 callers
Function
NewStoreServiceClient
(cc *grpc.ClientConn)
store/service.pb.go:391
↓ 1 callers
Function
NewStoreWebsites
NewStoreWebsites creates a new initialized collection. Auto generated.
store/entities_gen.go:487
↓ 1 callers
Function
NewTables
NewTables creates a new TableService satisfying interface Manager.
sql/ddl/tables.go:430
↓ 1 callers
Function
NewTables
NewTables returns a goified version of the MySQL/MariaDB table schema for the tables: store, store_group, store_website Auto generated by dmlgen.
store/entities_db_gen.go:23
↓ 1 callers
Function
NewTables
NewTables returns a goified version of the MySQL/MariaDB table schema for the tables: core_configuration Auto generated by dmlgen.
config/storage/db_client_schema_gen.go:24
↓ 1 callers
Function
NewToken
NewToken creates a new Token and presets the header to typ = JWT. A new token has not yet an assigned algorithm. The underlying default template heade
util/csjwt/token.go:55
↓ 1 callers
Function
NewTwin
NewTwin instantiates a new TwinBuffer pool with a custom pre-allocated buffer size. The fields `First` and `Second` will have the same size.
util/bufferpool/twin.go:149
↓ 1 callers
Function
NewViewCustomerAutoIncrements
NewViewCustomerAutoIncrements creates a new initialized collection. Auto generated.
sql/dmlgen/dmltestgenerated/output_gen.go:4344
↓ 1 callers
Function
NewViewCustomerAutoIncrements
NewViewCustomerAutoIncrements creates a new initialized collection. Auto generated.
sql/dmlgen/dmltestgenerated4/db_part_query_gen.go:830
↓ 1 callers
Function
NewViewCustomerNoAutoIncrements
NewViewCustomerNoAutoIncrements creates a new initialized collection. Auto generated.
sql/dmlgen/dmltestgenerated/output_gen.go:4608
↓ 1 callers
Method
NoContent
NoContent sends a response with no body and a status code.
net/response/response.go:251
↓ 1 callers
Function
NoError
* Errors */ NoError asserts that a function returned no error (i.e. `nil`). actualObj, err := SomeFunction() if assert.NoError(t, err) { assert.
util/assert/assertions.go:1254
↓ 1 callers
Method
NonPrimaryColumns
NonPrimaryColumns returns all non primary key and non-unique key columns.
sql/ddl/columns.go:267
↓ 1 callers
Method
NotRegexp
()
sql/dml/condition.go:461
↓ 1 callers
Method
NullBool
NullBool reads a bool value and appends it to the arguments slice or assigns the bool value stored in sql.RawBytes to the pointer. See the documentati
sql/dml/mapper.go:366
↓ 1 callers
Method
NullFloat64
NullFloat64 reads a float64 value and appends it to the arguments slice or assigns the float64 value stored in sql.RawBytes to the pointer. See the do
sql/dml/mapper.go:889
↓ 1 callers
Method
NullInt64
NullInt64 reads an int64 value and appends it to the arguments slice or assigns the int64 value stored in sql.RawBytes to the pointer. See the documen
sql/dml/mapper.go:576
↓ 1 callers
Method
NullString
NullString 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 docum
sql/dml/mapper.go:1217
↓ 1 callers
Method
NullTime
NullTime reads a time value and appends it to the arguments slice or assigns the NullTime value stored in sql.RawBytes to the pointer. See the documen
sql/dml/mapper.go:1291
↓ 1 callers
Function
ObjectsAreEqualValues
ObjectsAreEqualValues gets whether two objects are equal, or if their values are equal.
util/assert/assertions.go:64
↓ 1 callers
Method
Oldest
Oldest returns the insertion time of the oldest element in the cache, or a IsZero() time if cache is empty.
storage/lru/lru_cache.go:215
↓ 1 callers
Function
Open
Open opens subdir/path if a local directory is specified and the file exists, where subdir is a directory relative to the local root, or fetches it fr
_codegen/localization/gen/gen.go:128
↓ 1 callers
Function
OpenUnicodeFile
OpenUnicodeFile opens the requested file of the requested category from the root of the Unicode data archive. The file is specified relative to the pu
_codegen/localization/gen/gen.go:110
↓ 1 callers
Method
Options
Options applies various options to the running store service.
store/service.go:116
↓ 1 callers
Method
Options
Options applies options to the details object.
net/problem/detail.go:103
↓ 1 callers
Function
OptionsError
OptionsError helper function to be used within the backend package or other sub-packages whose functions may return an OptionFactoryFunc.
net/internal/scopedservice/options_generic.go:39
↓ 1 callers
Method
OrderByDeactivated
OrderByDeactivated deactivates ordering of the result set by applying ORDER BY NULL to the SELECT statement. Very useful for GROUP BY queries.
sql/dml/select.go:264
↓ 1 callers
Method
Pagination
(a *dml.DBR)
sql/urlvalues/pager.go:84
↓ 1 callers
Method
Parse
Given the bytes for a a binary log event: return the decoded event. With the exception of the FORMAT_DESCRIPTION_EVENT event type there must have prev
sql/myreplicator/parser.go:291
↓ 1 callers
Method
ParseReader
(r io.Reader, onEvent OnEventFunc)
sql/myreplicator/parser.go:149
↓ 1 callers
Method
ParseUnverified
ParseUnverified parses a rawToken into the unverified destination token and may return an error. Uses this function only during testing.
util/csjwt/parser.go:139
↓ 1 callers
Method
Paths
Paths returns all paths in sorted ascending order.
config/fake.go:64
↓ 1 callers
Method
Patronymic
Patronymic generates patronymic
util/pseudo/names.go:64
↓ 1 callers
Method
Ping
(ctx context.Context)
sql/dml/connection_callback_test.go:199
↓ 1 callers
Method
Prefix
Prefix returns a random prefix for either a female or male, sometimes an empty prefix.
util/pseudo/names.go:79
↓ 1 callers
Function
PrepareForTemplate
PrepareForTemplate uses the Columns slice to transform the rows so that correct Go code can be printed. int/Float values won't be touched. Bools or In
_codegen/database.go:419
↓ 1 callers
Method
PriceWithCurrency
PriceWithCurrency combines both price and currency together
util/pseudo/currencies.go:22
↓ 1 callers
Method
ProcessDenied
ProcessDenied deletes the store code cookie, if a store cookie can be found. Implements interface store.CodeProcessor.
net/runmode/code.go:153
↓ 1 callers
Method
ProcessDenied
ProcessDenied gets called in the middleware WithRunMode whenever a store ID isn't allowed to proceed. The variable newStoreID reflects the denied stor
net/runmode/code_processor.go:47
↓ 1 callers
Method
Product
Product generates product title as brand + product name
util/pseudo/products.go:18
↓ 1 callers
Function
ProtoToValues
ProtoToValues converts a proto message to a Values type. It appends to argument vals, which can be nil.
sql/urlvalues/urlvaluesproto/values_proto.go:7
↓ 1 callers
Method
Ptr
Ptr returns a pointer to this Uint16's value, or a nil pointer if this Uint16 is null.
storage/null/uint16.go:181
↓ 1 callers
Method
Ptr
Ptr returns a pointer to this value, or a nil pointer if value is null.
storage/null/int64.go:176
↓ 1 callers
Method
Ptr
Ptr returns a pointer to this Float64's value, or a nil pointer if this Float64 is null.
storage/null/float64.go:184
↓ 1 callers
Method
Ptr
Ptr returns a pointer to this Uint64's value, or a nil pointer if this Uint64 is null.
storage/null/uint64.go:174
↓ 1 callers
Method
Ptr
Ptr returns a pointer to this String's value, or a nil pointer if this String is null.
storage/null/string.go:178
↓ 1 callers
Method
Ptr
Ptr returns a pointer to this Time's value, or a nil pointer if this Time is null.
storage/null/time.go:152
↓ 1 callers
Method
Ptr
Ptr returns a pointer to this Uint32's value, or a nil pointer if this Uint32 is null.
storage/null/uint32.go:181
↓ 1 callers
Method
Ptr
Ptr returns a pointer to this Uint8's value, or a nil pointer if this Uint8 is null.
storage/null/uint8.go:181
↓ 1 callers
Method
Ptr
Ptr returns a pointer to this Int32's value, or a nil pointer if this Int32 is null.
storage/null/int32.go:179
↓ 1 callers
Method
Ptr
Ptr returns a pointer to this Int8's value, or a nil pointer if this Int8 is null.
storage/null/int8.go:182
↓ 1 callers
Method
Ptr
Ptr returns a pointer to this Int16's value, or a nil pointer if this Int16 is null.
storage/null/int16.go:181
↓ 1 callers
Method
Put
(zr *gzip.Reader)
util/gzippool/gunzip.go:49
↓ 1 callers
Method
Put
(zw *gzip.Writer)
util/gzippool/gzip.go:54
↓ 1 callers
Method
PutDecoder
(dec Decoder)
storage/objcache/pool.go:82
↓ 1 callers
Method
PutEncoder
(enc Encoder)
storage/objcache/pool.go:78
↓ 1 callers
Method
Query
(args []driver.Value)
sql/dml/connection_callback_test.go:229
↓ 1 callers
Method
QuoteAs
NameAlias always quuotes the name and the alias
sql/dml/naming.go:112
← previous
next →
2,201–2,300 of 7,620, ranked by callers