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
Function
ExampleInsert_SetRowCount_withdata
()
sql/dml/example_test.go:123
Function
ExampleInsert_WithArgs_rawData
ExampleInsert_WithArgs_rawData cannot interpolate because raw interfaces are not supported.
sql/dml/example_test.go:142
Function
ExampleInsert_WithArgs_record
ExampleInsert_AddRecords inserts new data into table `catalog_product_entity`. First statement by specifying the exact column names. In the second exa
sql/dml/example_insert_withArgs_record_test.go:61
Function
ExampleInsert_WithPairs
ExampleInsert_WithPairs this example uses WithDBR to build the final SQL string.
sql/dml/example_test.go:252
Function
ExampleInsert_expressionInVALUES
ExampleInsert_expressionInVALUES contains an expression in the VALUES part. You must provide the column names.
sql/dml/example_test.go:299
Function
ExampleInterpolate
()
sql/dml/example_test.go:432
Function
ExampleIsDivisibleBy
This small example illustrate how to work with IsDivisibleBy function.
util/validation/validator_test.go:1198
Function
ExampleMasterStatus_MapColumns
()
sql/ddl/examples_test.go:17
Function
ExampleNewInsert
()
sql/dml/example_test.go:92
Function
ExampleNewSelectWithDerivedTable
()
sql/dml/example_test.go:594
Function
ExampleNewService
()
net/csgrpc/auth/example_test.go:58
Function
ExampleNewUnion
ExampleNewUnion constructs a UNION with three SELECTs. It preserves the results sets of each SELECT by simply adding an internal index to the columns
sql/dml/example_test.go:359
Function
ExampleNewUnion_template
ExampleNewUnion_template interpolates the SQL string with its placeholders and puts for each placeholder the correct encoded and escaped value into it
sql/dml/example_test.go:398
Function
ExampleParenthesisOpen
()
sql/dml/example_test.go:749
Function
ExamplePath
()
config/example_test.go:33
Function
ExampleRegisterFactory
ExampleRegisterFactory shows how to create a custom observer based on the JSON input data. Usually the JSON data gets send via HTTP or protobuf.
config/observer/example_registerFactory_test.go:52
Function
ExampleRegisterModifier
ExampleRegisterModifier register a custom modifier with the name `append_test` which appends the word TEST. The modifier `append_test` gets activated
config/observer/example_registerModifier_test.go:31
Function
ExampleRegisterValidator
ExampleRegisterValidator register a custom validator with the name `check_xyzUser`. It checks that the configuration value for route `payment/serviceX
config/observer/example_registerValidator_test.go:33
Function
ExampleSQLCase_select
ExampleSQLCase_select is a duplicate of ExampleSelect_AddArguments
sql/dml/example_test.go:691
Function
ExampleSQLCase_update
()
sql/dml/example_test.go:670
Function
ExampleSQLIf
()
sql/dml/example_test.go:656
Function
ExampleSQLIfNull
()
sql/dml/example_test.go:625
Function
ExampleSelect_AddColumnsConditions
ExampleSelect_AddColumnsConditions is duplicate of ExampleSQLCase_select
sql/dml/example_test.go:725
Function
ExampleSelect_WithArgs_record
()
sql/dml/example_select_withArgs_record_test.go:92
Function
ExampleService
()
config/example_service_test.go:24
Function
ExampleService_WithIsCountryAllowedByIP
()
net/geoip/example_test.go:32
Function
ExampleUpdate_Prepare
ExampleUpdate_Prepare can create a prepared statement or interpolated statements to run updates on table `sales_order` with different objects. The SQ
sql/dml/example_update_prepare_test.go:66
Function
ExampleUpdate_WithArgs_record
ExampleUpdate_WithRecords performs an UPDATE query in the table `catalog_category_entity` with the fix specified columns. The Go type categoryEntity i
sql/dml/example_update_withArgs_record_test.go:73
Function
ExampleValue
ExampleValue shows how to use the Value type to convert the raw byte slice value to the appropriate final type.
config/example_test.go:73
Function
ExampleWithPooledEncoder
This example shows the basic usage of the package: Create the objcache processor, set some values, get some, re-prime gob, set values get some.
storage/objcache/example_test.go:46
Function
ExampleWith_Union
()
sql/dml/example_test.go:779
Function
Example_New
()
net/signed/backendsigned/example_test.go:17
Function
Example_New
()
net/ratelimit/backendratelimit/example_test.go:17
Function
Example_serverConfig
Simple example of server initialization code.
net/csgrpc/auth/example_test.go:37
Method
ExecContext
(ctx context.Context, query string, args []driver.NamedValue)
sql/dml/connection_callback_test.go:191
Method
ExecContext
(ctx context.Context, args []driver.NamedValue)
sql/dml/connection_callback_test.go:226
Method
ExecContext
(ctx context.Context, query string, args ...any)
sql/dml/interfaces_test.go:49
Method
ExecContext
(ctx context.Context, query string, args ...any)
sql/dml/interfaces_pub_test.go:48
Method
ExecContext
ExecContext executes a query that doesn't return rows.
sql/dml/interfaces.go:46
Method
ExecContext
ExecContext executes the statement represented by the Update/Insert object. It returns the raw database/sql Result or an error if there was one. Regar
sql/dml/dbr.go:937
Method
ExecContext
(ctx context.Context, query string, args []driver.NamedValue)
sql/dml/connection_callback.go:106
Method
ExecContext
(ctx context.Context, args []driver.NamedValue)
sql/dml/connection_callback.go:210
Method
ExecContext
(ctx context.Context, _ string, args ...any)
sql/dml/stmt.go:37
Method
Exists
()
sql/dml/condition.go:426
Method
Expires
()
util/csjwt/claims_test.go:37
Method
Expires
Expires duration when a token expires.
util/csjwt/jwtclaim/map.go:129
Method
Expires
Expires duration when a token expires.
util/csjwt/jwtclaim/standard.go:156
Function
ExtractNumber
@todo see lib/internal/Magento/Framework/Locale/Format.php ExtractNumber returns the first found number from a string. Examples for input: ' 2345.43
locale/format.go:35
Method
ExtractValue
ExtractValue Extract data from request and return value
eav/attribute_data.go:34
Method
ExtractValue
(req *http.Request)
eav/attribute_data.go:86
Function
False
False asserts that the specified value is false. assert.False(t, myBool)
util/assert/assertions.go:708
Method
Fatalf
(format string, args ...any)
sql/dmltest/loader_test.go:74
Function
FileExists
FileExists checks whether a file exists in the given path. It also fails if the path points to a directory or there is an error when trying to check t
util/assert/assertions.go:1392
Method
Filter
Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:1306
Method
Filter
Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:1838
Method
Filter
Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:2365
Method
Filter
Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:2965
Method
Filter
Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:3550
Method
Filter
Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:4151
Method
Filter
Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:4468
Method
Filter
Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:4711
Method
Filter
Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated2/no_db_gen.go:159
Method
Filter
Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated2/no_db_gen.go:344
Method
Filter
Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated5/tables_gen.go:1596
Method
Filter
Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated5/tables_gen.go:2072
Method
Filter
Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.
store/entities_gen.go:331
Method
Filter
Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.
store/entities_gen.go:538
Method
Filter
Filter returns a new slice filtered by predicate f. Generated via tableToStruct.
_codegen/tableToStruct/_goast_generic/iter.go:62
Method
Filter
(f func(*TableWebsite) bool)
_codegen/tableToStruct/_goast_generic_impl/zgen_tablewebsiteslice_iter.go:41
Method
Filter
(f func(*TableStore) bool)
_codegen/tableToStruct/_goast_generic_impl/zgen_tablestoreslice_iter.go:41
Method
Filter
(f func(*TableGroup) bool)
_codegen/tableToStruct/_goast_generic_impl/zgen_tablegroupslice_iter.go:41
Method
FilterNot
FilterNot will return a new Slice that does not match by calling the function f Generated via tableToStruct.
_codegen/tableToStruct/_goast_generic/iter.go:75
Method
FilterNot
(f func(*TableWebsite) bool)
_codegen/tableToStruct/_goast_generic_impl/zgen_tablewebsiteslice_iter.go:50
Method
FilterNot
(f func(*TableStore) bool)
_codegen/tableToStruct/_goast_generic_impl/zgen_tablestoreslice_iter.go:50
Method
FilterNot
(f func(*TableGroup) bool)
_codegen/tableToStruct/_goast_generic_impl/zgen_tablegroupslice_iter.go:50
Method
FilterThis
FilterThis filters the current slice by predicate f without memory allocation. Generated via tableToStruct.
_codegen/tableToStruct/_goast_generic/iter.go:50
Method
FilterThis
(f func(*TableWebsite) bool)
_codegen/tableToStruct/_goast_generic_impl/zgen_tablewebsiteslice_iter.go:32
Method
FilterThis
(f func(*TableStore) bool)
_codegen/tableToStruct/_goast_generic_impl/zgen_tablestoreslice_iter.go:32
Method
FilterThis
(f func(*TableGroup) bool)
_codegen/tableToStruct/_goast_generic_impl/zgen_tablegroupslice_iter.go:32
Method
Find
Find takes predicate f and searches through the slice to return the first match. Generated via tableToStruct.
_codegen/tableToStruct/_goast_generic/iter.go:37
Method
Find
(f func(*TableWebsite) bool)
_codegen/tableToStruct/_goast_generic_impl/zgen_tablewebsiteslice_iter.go:22
Method
Find
(f func(*TableStore) bool)
_codegen/tableToStruct/_goast_generic_impl/zgen_tablestoreslice_iter.go:22
Method
Find
(f func(*TableGroup) bool)
_codegen/tableToStruct/_goast_generic_impl/zgen_tablegroupslice_iter.go:22
Method
FindCountry
(ipAddress net.IP)
net/geoip/service_integration_test.go:54
Method
FindCountry
(ipAddress net.IP)
net/geoip/maxmindfile/country.go:35
Method
FindCountry
Country queries the MaxMind Webserver for one IP address. Implements the CountryRetriever interface. During concurrent requests with the same IP addre
net/geoip/maxmindwebservice/webservice.go:69
Method
Float64
(f float64)
sql/dml/condition.go:641
Method
Float64s
(f ...float64)
sql/dml/condition.go:650
Method
Flush
()
net/compress/compress.go:64
Method
Flush
()
net/responseproxy/tee_writer.go:115
Method
Flush
()
net/responseproxy/tee_writer.go:145
Method
Flush
()
net/responseproxy/pipe_writer.go:112
Method
Flush
()
net/responseproxy/pipe_writer.go:140
Method
Flush
()
net/responseproxy/buf_writer.go:87
Method
Flush
()
net/responseproxy/buf_writer.go:115
Method
Flush
Flush flushes the internal caches. Write operation also flushes the entry for the given key. If a Storage service implements type flusher interface
config/service.go:253
Method
Flush
()
config/service.go:255
Method
Flush
Flush purges all stored items from the cache.
config/storage/lru.go:110
Method
Flush
Flush purges all stored items from the cache.
config/storage/map.go:74
Method
FmtInt64
FmtInt64 formats an integer according to the currency format pattern. Thread safe
i18n/currency.go:247
← previous
next →
3,901–4,000 of 7,620, ranked by callers