MCPcopy Create free account

hub / github.com/corestoreio/pkg / functions

Functions7,620 in github.com/corestoreio/pkg

FunctionExampleInsert_SetRowCount_withdata
()
sql/dml/example_test.go:123
FunctionExampleInsert_WithArgs_rawData
ExampleInsert_WithArgs_rawData cannot interpolate because raw interfaces are not supported.
sql/dml/example_test.go:142
FunctionExampleInsert_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
FunctionExampleInsert_WithPairs
ExampleInsert_WithPairs this example uses WithDBR to build the final SQL string.
sql/dml/example_test.go:252
FunctionExampleInsert_expressionInVALUES
ExampleInsert_expressionInVALUES contains an expression in the VALUES part. You must provide the column names.
sql/dml/example_test.go:299
FunctionExampleInterpolate
()
sql/dml/example_test.go:432
FunctionExampleIsDivisibleBy
This small example illustrate how to work with IsDivisibleBy function.
util/validation/validator_test.go:1198
FunctionExampleMasterStatus_MapColumns
()
sql/ddl/examples_test.go:17
FunctionExampleNewInsert
()
sql/dml/example_test.go:92
FunctionExampleNewSelectWithDerivedTable
()
sql/dml/example_test.go:594
FunctionExampleNewService
()
net/csgrpc/auth/example_test.go:58
FunctionExampleNewUnion
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
FunctionExampleNewUnion_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
FunctionExampleParenthesisOpen
()
sql/dml/example_test.go:749
FunctionExamplePath
()
config/example_test.go:33
FunctionExampleRegisterFactory
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
FunctionExampleRegisterModifier
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
FunctionExampleRegisterValidator
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
FunctionExampleSQLCase_select
ExampleSQLCase_select is a duplicate of ExampleSelect_AddArguments
sql/dml/example_test.go:691
FunctionExampleSQLCase_update
()
sql/dml/example_test.go:670
FunctionExampleSQLIf
()
sql/dml/example_test.go:656
FunctionExampleSQLIfNull
()
sql/dml/example_test.go:625
FunctionExampleSelect_AddColumnsConditions
ExampleSelect_AddColumnsConditions is duplicate of ExampleSQLCase_select
sql/dml/example_test.go:725
FunctionExampleSelect_WithArgs_record
()
sql/dml/example_select_withArgs_record_test.go:92
FunctionExampleService
()
config/example_service_test.go:24
FunctionExampleService_WithIsCountryAllowedByIP
()
net/geoip/example_test.go:32
FunctionExampleUpdate_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
FunctionExampleUpdate_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
FunctionExampleValue
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
FunctionExampleWithPooledEncoder
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
FunctionExampleWith_Union
()
sql/dml/example_test.go:779
FunctionExample_New
()
net/signed/backendsigned/example_test.go:17
FunctionExample_New
()
net/ratelimit/backendratelimit/example_test.go:17
FunctionExample_serverConfig
Simple example of server initialization code.
net/csgrpc/auth/example_test.go:37
MethodExecContext
(ctx context.Context, query string, args []driver.NamedValue)
sql/dml/connection_callback_test.go:191
MethodExecContext
(ctx context.Context, args []driver.NamedValue)
sql/dml/connection_callback_test.go:226
MethodExecContext
(ctx context.Context, query string, args ...any)
sql/dml/interfaces_test.go:49
MethodExecContext
(ctx context.Context, query string, args ...any)
sql/dml/interfaces_pub_test.go:48
MethodExecContext
ExecContext executes a query that doesn't return rows.
sql/dml/interfaces.go:46
MethodExecContext
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
MethodExecContext
(ctx context.Context, query string, args []driver.NamedValue)
sql/dml/connection_callback.go:106
MethodExecContext
(ctx context.Context, args []driver.NamedValue)
sql/dml/connection_callback.go:210
MethodExecContext
(ctx context.Context, _ string, args ...any)
sql/dml/stmt.go:37
MethodExists
()
sql/dml/condition.go:426
MethodExpires
()
util/csjwt/claims_test.go:37
MethodExpires
Expires duration when a token expires.
util/csjwt/jwtclaim/map.go:129
MethodExpires
Expires duration when a token expires.
util/csjwt/jwtclaim/standard.go:156
FunctionExtractNumber
@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
MethodExtractValue
ExtractValue Extract data from request and return value
eav/attribute_data.go:34
MethodExtractValue
(req *http.Request)
eav/attribute_data.go:86
FunctionFalse
False asserts that the specified value is false. assert.False(t, myBool)
util/assert/assertions.go:708
MethodFatalf
(format string, args ...any)
sql/dmltest/loader_test.go:74
FunctionFileExists
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
MethodFilter
Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:1306
MethodFilter
Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:1838
MethodFilter
Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:2365
MethodFilter
Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:2965
MethodFilter
Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:3550
MethodFilter
Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:4151
MethodFilter
Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:4468
MethodFilter
Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:4711
MethodFilter
Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated2/no_db_gen.go:159
MethodFilter
Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated2/no_db_gen.go:344
MethodFilter
Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated5/tables_gen.go:1596
MethodFilter
Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated5/tables_gen.go:2072
MethodFilter
Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.
store/entities_gen.go:331
MethodFilter
Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.
store/entities_gen.go:538
MethodFilter
Filter returns a new slice filtered by predicate f. Generated via tableToStruct.
_codegen/tableToStruct/_goast_generic/iter.go:62
MethodFilter
(f func(*TableWebsite) bool)
_codegen/tableToStruct/_goast_generic_impl/zgen_tablewebsiteslice_iter.go:41
MethodFilter
(f func(*TableStore) bool)
_codegen/tableToStruct/_goast_generic_impl/zgen_tablestoreslice_iter.go:41
MethodFilter
(f func(*TableGroup) bool)
_codegen/tableToStruct/_goast_generic_impl/zgen_tablegroupslice_iter.go:41
MethodFilterNot
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
MethodFilterNot
(f func(*TableWebsite) bool)
_codegen/tableToStruct/_goast_generic_impl/zgen_tablewebsiteslice_iter.go:50
MethodFilterNot
(f func(*TableStore) bool)
_codegen/tableToStruct/_goast_generic_impl/zgen_tablestoreslice_iter.go:50
MethodFilterNot
(f func(*TableGroup) bool)
_codegen/tableToStruct/_goast_generic_impl/zgen_tablegroupslice_iter.go:50
MethodFilterThis
FilterThis filters the current slice by predicate f without memory allocation. Generated via tableToStruct.
_codegen/tableToStruct/_goast_generic/iter.go:50
MethodFilterThis
(f func(*TableWebsite) bool)
_codegen/tableToStruct/_goast_generic_impl/zgen_tablewebsiteslice_iter.go:32
MethodFilterThis
(f func(*TableStore) bool)
_codegen/tableToStruct/_goast_generic_impl/zgen_tablestoreslice_iter.go:32
MethodFilterThis
(f func(*TableGroup) bool)
_codegen/tableToStruct/_goast_generic_impl/zgen_tablegroupslice_iter.go:32
MethodFind
Find takes predicate f and searches through the slice to return the first match. Generated via tableToStruct.
_codegen/tableToStruct/_goast_generic/iter.go:37
MethodFind
(f func(*TableWebsite) bool)
_codegen/tableToStruct/_goast_generic_impl/zgen_tablewebsiteslice_iter.go:22
MethodFind
(f func(*TableStore) bool)
_codegen/tableToStruct/_goast_generic_impl/zgen_tablestoreslice_iter.go:22
MethodFind
(f func(*TableGroup) bool)
_codegen/tableToStruct/_goast_generic_impl/zgen_tablegroupslice_iter.go:22
MethodFindCountry
(ipAddress net.IP)
net/geoip/service_integration_test.go:54
MethodFindCountry
(ipAddress net.IP)
net/geoip/maxmindfile/country.go:35
MethodFindCountry
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
MethodFloat64
(f float64)
sql/dml/condition.go:641
MethodFloat64s
(f ...float64)
sql/dml/condition.go:650
MethodFlush
()
net/compress/compress.go:64
MethodFlush
()
net/responseproxy/tee_writer.go:115
MethodFlush
()
net/responseproxy/tee_writer.go:145
MethodFlush
()
net/responseproxy/pipe_writer.go:112
MethodFlush
()
net/responseproxy/pipe_writer.go:140
MethodFlush
()
net/responseproxy/buf_writer.go:87
MethodFlush
()
net/responseproxy/buf_writer.go:115
MethodFlush
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
MethodFlush
()
config/service.go:255
MethodFlush
Flush purges all stored items from the cache.
config/storage/lru.go:110
MethodFlush
Flush purges all stored items from the cache.
config/storage/map.go:74
MethodFmtInt64
FmtInt64 formats an integer according to the currency format pattern. Thread safe
i18n/currency.go:247
← previousnext →3,901–4,000 of 7,620, ranked by callers