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
scanColumns
(cm *dml.ColumnMap, e *CustomerEntityVarchar)
sql/dmlgen/dmltestgenerated5/tables_gen.go:1902
↓ 2 callers
Method
scanColumns
(cm *dml.ColumnMap, e *KeyColumnUsage, idx uint64)
sql/ddl/foreign_key.go:100
↓ 2 callers
Method
scanColumns
(cm *dml.ColumnMap, e *Store, idx uint64)
store/entities_db_gen.go:75
↓ 2 callers
Method
scanColumns
(cm *dml.ColumnMap, e *StoreGroup, idx uint64)
store/entities_db_gen.go:160
↓ 2 callers
Method
scanColumns
(cm *dml.ColumnMap, e *StoreWebsite, idx uint64)
store/entities_db_gen.go:245
↓ 2 callers
Method
scanColumns
(cm *dml.ColumnMap, e *CoreConfiguration, idx uint64)
config/storage/db_client_schema_gen.go:127
↓ 2 callers
Function
sendFM
(fmC chan *config.FieldMeta, data map[int64]string, route string, scp scope.Type)
config/storage/yaml.go:137
↓ 2 callers
Method
separatorSuffixRoute
()
config/path.go:625
↓ 2 callers
Method
serve
serve runs the benchmark. r or rf can be nil, but not both.
util/cstesting/http_users.go:84
↓ 2 callers
Function
shortenStrings
(maxLength int, val reflect.Value)
util/assert/assertions.go:470
↓ 2 callers
Method
skew
()
util/csjwt/jwtclaim/map.go:50
↓ 2 callers
Function
skip
(dAtA []byte)
sql/urlvalues/urlvaluesproto/values_vtproto.pb.go:372
↓ 2 callers
Function
skipProto
(dAtA []byte)
config/observer/proto.pb.go:608
↓ 2 callers
Function
splitColumn
splitColumn splits a string via its last dot into the qualifier and the column name.
sql/dml/condition.go:1196
↓ 2 callers
Function
sqlCase
(value, defaultValue string, compareResult ...string)
sql/dml/expression.go:129
↓ 2 callers
Function
sqlIfNull
(expression []string)
sql/dml/expression.go:52
↓ 2 callers
Function
sqlIfNullQuote2
(w *bytes.Buffer, expressionAlias ...string)
sql/dml/expression.go:78
↓ 2 callers
Function
sqlWriteUnionAll
(w *bytes.Buffer, isAll, isIntersect, isExcept bool)
sql/dml/builder.go:208
↓ 2 callers
Method
startDumpStream
()
sql/myreplicator/binlogsyncer.go:353
↓ 2 callers
Function
strSliceToRegexSlice
(sl []string)
net/auth/options.go:102
↓ 2 callers
Method
stripEnvSuffixByte
(r []byte)
config/path.go:283
↓ 2 callers
Method
stripEnvSuffixStr
(r string)
config/path.go:276
↓ 2 callers
Method
suffix
(gender string)
util/pseudo/names.go:90
↓ 2 callers
Function
testRsaOption
(t *testing.T, opt jwt.Option)
net/jwt/options_test.go:174
↓ 2 callers
Function
testWithCompressorConcrete
(t *testing.T, header string, uncompressor func(io.Reader) string)
net/compress/compress_test.go:126
↓ 2 callers
Method
toGoPrimitiveFromNull
toGoPrimitiveFromNull returns for a Go type or structure the final primitive: int->int but NullInt->.Int. Either it is the struct field name or final
sql/dmlgen/typemap.go:439
↓ 2 callers
Function
toLower
(s string, safeUnicode bool)
net/ratelimit/varyby.go:109
↓ 2 callers
Function
toSnakeCase
(str string)
util/pseudo/fake.go:793
↓ 2 callers
Function
totalSliceLen
(args []any)
sql/dml/argument.go:407
↓ 2 callers
Function
trieGetNode
(node *trieRoute, key string, scp scope.TypeID)
config/route_trie.go:221
↓ 2 callers
Function
typeAndKind
(v interface{})
util/assert/assertions.go:1484
↓ 2 callers
Function
validateEqualArgs
validateEqualArgs checks whether provided arguments can be safely used in the Equal/NotEqual functions.
util/assert/assertions.go:329
↓ 2 callers
Function
validateInsertingBarack
(t *testing.T, c *ConnPool, lastInsertID int64)
sql/dml/insert_test.go:141
↓ 2 callers
Function
verifyExp
(skew time.Duration, exp, now int64, required bool)
util/csjwt/jwtclaim/common.go:52
↓ 2 callers
Function
verifyIat
(iat int64, now int64, required bool)
util/csjwt/jwtclaim/common.go:60
↓ 2 callers
Function
verifyNbf
(skew time.Duration, nbf int64, now int64, required bool)
util/csjwt/jwtclaim/common.go:67
↓ 2 callers
Function
withDropTable
(ctx context.Context, tm *Tables, db dml.Execer, tableViewNames []string)
sql/ddl/tables.go:324
↓ 2 callers
Function
withError
()
net/auth/service_test.go:31
↓ 2 callers
Function
withError
()
net/internal/scopedservice/service_generic_test.go:36
↓ 2 callers
Function
withExecSQL
(ctx context.Context, event uint8, sqlQuery ...string)
sql/dml/connection.go:253
↓ 2 callers
Method
write
INTERNAL write writes the conditions for usage as restrictions in WHERE, HAVING or JOIN clauses. conditionType enum of j=join, w=where, h=having
sql/dml/condition.go:879
↓ 2 callers
Method
writeBinglogDumpCommand
(p ddl.MasterStatus)
sql/myreplicator/binlogsyncer.go:415
↓ 2 callers
Method
writeBinlogDumpMariadbGTIDCommand
(gset mysql.GTIDSet)
sql/myreplicator/binlogsyncer.go:474
↓ 2 callers
Method
writeBinlogDumpMysqlGTIDCommand
(gset mysql.GTIDSet)
sql/myreplicator/binlogsyncer.go:438
↓ 2 callers
Method
writeBytes
fnv64a
util/hashpool/register.go:42
↓ 2 callers
Method
writeEnvSuffix
(buf *bytes.Buffer)
config/path.go:269
↓ 2 callers
Function
writeInterpolateBytes
writeInterpolateByte same as writeInterpolate. Maybe package unsafe can do here some magic to avoid duplicate code, but for now we stick with a copy o
sql/dml/interpolate.go:323
↓ 2 callers
Method
writeQualifierName
(w *bytes.Buffer, q, n string)
sql/dml/naming.go:285
↓ 2 callers
Function
writeSQLValues
(w *bytes.Buffer, column string)
sql/dml/condition.go:1116
↓ 2 callers
Function
writeToSQL
(qb dml.QueryBuilder)
sql/dml/example_test.go:30
↓ 2 callers
Method
xml
(code int, b []byte)
net/response/response.go:221
↓ 1 callers
Function
Abs
Abs returns absolute value of number
util/validation/numerics.go:30
↓ 1 callers
Function
AddBasicAuthToOutgoingContext
AddBasicAuthToOutgoingContext adds a basic authentication header to a new outgoing context: "authorization: Basic base64EncodedUserPass"
net/csgrpc/auth/metadata.go:63
↓ 1 callers
Method
AddEventCoreConfiguration
AddEventCoreConfiguration adds a specific defined event call back to the DBM. It panics if the event argument is larger than dml.EventFlagMax.
sql/dmlgen/dmltestgenerated4/db_part_query_gen.go:125
↓ 1 callers
Method
AddEventSalesOrderStatusState
AddEventSalesOrderStatusState adds a specific defined event call back to the DBM. It panics if the event argument is larger than dml.EventFlagMax.
sql/dmlgen/dmltestgenerated/output_gen.go:620
↓ 1 callers
Method
AddOptions
(nameRawValue ...string)
util/codegen/proto.go:42
↓ 1 callers
Method
Append
Append will add a new item at the end of * StoreGroups . Auto generated via dmlgen.
store/entities_gen.go:288
↓ 1 callers
Method
Append
Append will add a new item at the end of * StoreWebsites . Auto generated via dmlgen.
store/entities_gen.go:495
↓ 1 callers
Method
Append
Append extends a slice, adding the specified Middleware as the last ones in the request flow. Append returns a new slice, leaving the original one un
net/mw/middleware.go:66
↓ 1 callers
Method
Append
Append adds *Field (variadic) to the Fields. Not thread safe.
config/elements.go:549
↓ 1 callers
Method
AppendBytes
AppendBytes appends the uint32 to the destination bytes `dst`.
store/scope/typeid.go:85
↓ 1 callers
Method
AppendColumnsAliases
AppendColumnsAliases expects a balanced slice where i=column name and i+1=alias name. An imbalanced slice will cause a panic. If a column name is not
sql/dml/naming.go:221
↓ 1 callers
Function
AssetDir
AssetDir returns the file names below a certain directory embedded in the file by go-bindata. For example if you run go-bindata on data/... and data c
util/naughtystrings/internal/resource.go:1332
↓ 1 callers
Function
AssetInfo
AssetInfo loads and returns the asset info for the given name. It returns an error if the asset could not be found or could not be loaded.
util/pseudo/bindata.go:6219
↓ 1 callers
Function
AssetInfo
AssetInfo loads and returns the asset info for the given name. It returns an error if the asset could not be found or could not be loaded.
util/naughtystrings/internal/resource.go:1292
↓ 1 callers
Method
AthleteIDs
AthleteIDs returns a slice with the data or appends it to a slice. Auto generated.
sql/dmlgen/dmltestgeneratedMToM/fkm2n_gen.go:534
↓ 1 callers
Method
AttributeIDs
AttributeIDs returns a slice with the data or appends it to a slice. Auto generated.
sql/dmlgen/dmltestgenerated/output_gen.go:1364
↓ 1 callers
Function
AuthFromMD
AuthFromMD is a helper function for extracting the :authorization header from the gRPC metadata of the request. It expects the `:authorization` heade
net/csgrpc/auth/metadata.go:30
↓ 1 callers
Method
BackendType
()
eav/attribute.go:57
↓ 1 callers
Function
Base64Encoded
Base64Encoded returns the strings encoded in base 64.
util/naughtystrings/naughtystrings.go:32
↓ 1 callers
Method
Begin
()
sql/dml/connection_callback_test.go:204
↓ 1 callers
Method
BeginTx
(ctx context.Context, opts driver.TxOptions)
sql/dml/connection_callback_test.go:205
↓ 1 callers
Method
BeginTx
BeginTx starts a transaction. The provided context is used until the transaction is committed or rolled back. If the context is canceled, the sql pac
sql/dml/connection.go:752
↓ 1 callers
Method
BinaryLog
BinaryLog lists the binary log files on the server.
sql/dml/show.go:98
↓ 1 callers
Function
BlnsBase64JsonBytes
()
util/naughtystrings/internal/resource.go:726
↓ 1 callers
Function
BlnsJsonBytes
()
util/naughtystrings/internal/resource.go:1248
↓ 1 callers
Method
Bool
(name string)
sql/urlvalues/values.go:34
↓ 1 callers
Function
ByteLength
ByteLength check string's length
util/validation/validator.go:938
↓ 1 callers
Function
CLDRVersion
UnicodeVersion reports the requested CLDR version.
_codegen/localization/gen/gen.go:84
↓ 1 callers
Method
CalculateHash
CalculateHash calculates the hash sum from the request body. The full body gets read into a buffer. This buffer gets assigned to the r.Body to make a
net/signed/scopedConfig.go:158
↓ 1 callers
Function
CallerInfo
* CallerInfo is necessary because the assert functions use the testing object internally, causing it to print the file:line of the assert method, rath
util/assert/assertions.go:89
↓ 1 callers
Method
Capacity
Capacity returns the cache maximum capacity.
storage/lru/lru_cache.go:200
↓ 1 callers
Method
Characters
Characters generates from 1 to 5 characters in the given language
util/pseudo/lorem_ipsum.go:25
↓ 1 callers
Method
Clear
Clear will reset the data slice or create a new type. Useful for reusing the underlying backing slice array. Auto generated via dmlgen.
sql/dmlgen/dmltestgenerated/output_gen.go:4623
↓ 1 callers
Method
ClearCache
ClearCache clears the internal map storing all scoped configurations. You must reapply all functional options. TODO(CyS) all previously applied option
net/ratelimit/service_generic.go:115
↓ 1 callers
Method
ClearCache
ClearCache clears the internal map storing all scoped configurations. You must reapply all functional options. TODO(CyS) all previously applied option
net/jwt/service_generic.go:115
↓ 1 callers
Method
ClearTableCache
ClearTableCache clear table cache
sql/mycanal/canal.go:546
↓ 1 callers
Method
Clone
Clone creates a clone of the current object, leaving fields DB and Log untouched. Additionally the fields for replacing strings also won't get copied.
sql/dml/union.go:233
↓ 1 callers
Method
Clone
Clone creates a new clone of the current object.
sql/dml/condition.go:185
↓ 1 callers
Method
Close
Close closes the BinlogSyncer.
sql/myreplicator/binlogsyncer.go:151
↓ 1 callers
Method
Close
Close closes and terminates the internal goroutines and connections.
config/service.go:233
↓ 1 callers
Method
Close
Close terminates the prepared statements and internal go routines.
config/storage/db_client.go:222
↓ 1 callers
Method
CloseNotify
()
net/mw/middleware_test.go:55
↓ 1 callers
Method
Codes
Codes returns a slice with the data or appends it to a slice. Auto generated.
store/entities_gen.go:182
↓ 1 callers
Method
Codes
Codes returns a slice with the data or appends it to a slice. Auto generated.
store/entities_gen.go:387
↓ 1 callers
Method
Codes
Codes returns a slice with the data or appends it to a slice. Auto generated.
store/entities_gen.go:594
↓ 1 callers
Method
Color
Color generates color name
util/pseudo/general.go:53
↓ 1 callers
Method
ColumnNames
ColumnNames belongs to the column `COLUMN_NAME` and returns a slice or appends to a slice only unique values of that column. The values will be filter
sql/ddl/foreign_key.go:169
↓ 1 callers
Function
ColumnsToStructCode
ColumnsToStructCode generates Go code from a name and a slice of columns. Make sure that the fields GoType and GoName has been setup If you don't like
_codegen/database.go:297
↓ 1 callers
Method
ColumnsWithQualifier
ColumnsWithQualifier prefixes all columns in the slice `cols` with a qualifier and applies backticks. If a column name has already been prefixed with
sql/dml/naming.go:378
← previous
next →
1,701–1,800 of 7,620, ranked by callers