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
Size
()
store/entities_gen.pb.go:603
↓ 2 callers
Method
Size
()
store/entities_gen.pb.go:636
↓ 2 callers
Method
Size
()
store/entities_gen.pb.go:651
↓ 2 callers
Method
Size
()
store/entities_gen.pb.go:686
↓ 2 callers
Method
Size
()
store/service.pb.go:1148
↓ 2 callers
Method
Size
()
store/service.pb.go:1166
↓ 2 callers
Method
Size
()
store/service.pb.go:1185
↓ 2 callers
Method
Size
()
store/service.pb.go:1200
↓ 2 callers
Method
Size
()
store/service.pb.go:1215
↓ 2 callers
Method
Size
()
store/service.pb.go:1233
↓ 2 callers
Method
Size
()
storage/null/null.enc.go:526
↓ 2 callers
Method
Size
()
storage/null/null.enc.go:551
↓ 2 callers
Method
Size
()
storage/null/null.enc.go:563
↓ 2 callers
Method
Size
()
storage/null/null.enc.go:575
↓ 2 callers
Method
Size
()
storage/null/null.enc.go:587
↓ 2 callers
Method
Size
()
storage/null/null.enc.go:599
↓ 2 callers
Method
Size
()
storage/null/null.enc.go:611
↓ 2 callers
Method
Size
()
storage/null/null.enc.go:623
↓ 2 callers
Method
Size
()
storage/null/null.enc.go:635
↓ 2 callers
Method
Size
()
storage/null/null.enc.go:647
↓ 2 callers
Method
Size
()
storage/null/null.enc.go:659
↓ 2 callers
Method
Size
()
storage/null/null.enc.go:671
↓ 2 callers
Method
Size
()
config/observer/proto.pb.go:308
↓ 2 callers
Method
Size
()
config/observer/proto.pb.go:320
↓ 2 callers
Method
SizeVT
()
sql/urlvalues/urlvaluesproto/values_vtproto.pb.go:148
↓ 2 callers
Method
SortByValue
SortByValue sorts by value in asc = 0 or desc != 0 direction. The underlying value will be converted to a string. You might expect strange results whe
config/_cfgsource/slice.go:50
↓ 2 callers
Method
SplitStringer8
SplitStringer8 uses a name and position indexes to split the name and appends the parts to the slice. Cracking the names and indexes which the stringe
util/slices/string.go:209
↓ 2 callers
Function
StartsWithBearer
StartsWithBearer checks if token starts with bearer
util/csjwt/parser.go:232
↓ 2 callers
Method
StartsWithReverse
StartsWithReverse checks if the StringSlice can be found at least once in the provided string s.
util/slices/string.go:163
↓ 2 callers
Method
State
State generates random state
util/pseudo/addresses.go:42
↓ 2 callers
Method
Statistics
Statistics returns live statistics about opening and closing prepared statements.
config/storage/db_client.go:324
↓ 2 callers
Method
StatsJSON
StatsJSON returns stats as a JSON object in a string.
storage/lru/lru_cache.go:177
↓ 2 callers
Method
StoreIDbyCode
(ctx context.Context, in *ProtoStoreIDbyCodeRequest, opts ...grpc.CallOption)
store/service.pb.go:371
↓ 2 callers
Method
StoreIDbyCode
StoreIDbyCode returns, depending on the runMode, for a storeCode its active store ID and its website ID. An empty runMode hash falls back to select th
net/jwt/store_finder.go:35
↓ 2 callers
Method
StraightJoin
StraightJoin forces the optimizer to join the tables in the order in which they are listed in the FROM clause. You can use this to speed up a query if
sql/dml/select.go:99
↓ 2 callers
Method
Street
Street generates random street name
util/pseudo/addresses.go:52
↓ 2 callers
Method
StreetAddress
StreetAddress generates random street name along with building number
util/pseudo/addresses.go:58
↓ 2 callers
Method
String
String returns for a given key its string value. If the key does not exists, it returns false.
sql/ddl/variables.go:101
↓ 2 callers
Method
String
String returns the string representation of the time or null.
storage/null/time.go:43
↓ 2 callers
Method
String
String returns a list of algorithms, comma separated
util/csjwt/signing_method.go:110
↓ 2 callers
Method
String
String human readable output via JSON, slow.
util/csjwt/jwtclaim/map.go:143
↓ 2 callers
Method
Strings
(name string)
sql/urlvalues/values.go:22
↓ 2 callers
Method
SyncedPosition
SyncedPosition returns the current synced position as retrieved from the SQl server.
sql/mycanal/canal.go:404
↓ 2 callers
Method
Tee
Tee causes the response body to be written to the given io.Writer in addition to proxying the writes through. Only one io.Writer can be tee'd to at on
net/responseproxy/tee_writer.go:25
↓ 2 callers
Function
ToBoolE
ToBoolE casts an empty interface to a bool. If a type implements function ToBool() bool this function will get called.
util/conv/caste.go:78
↓ 2 callers
Function
ToByteE
ToByteE casts an empty interface to a byte slice. Faster than ToStringE because ToByteE avoids some copying of data. Use wisely.
util/conv/caste.go:461
↓ 2 callers
Function
ToDataSlice
(i interface{})
util/conv/cast.go:85
↓ 2 callers
Function
ToFloat64E
ToFloat64E casts an empty interface to a float64.
util/conv/caste.go:152
↓ 2 callers
Function
ToIntE
ToIntE casts an empty interface to an int.
util/conv/caste.go:200
↓ 2 callers
Method
ToSQL
ToSQL implements dml.QueryBuilder. The interface slice is always nil.
sql/dml/interpolate.go:170
↓ 2 callers
Function
ToStringSliceE
ToStringSliceE casts an empty interface to a []string.
util/conv/caste.go:657
↓ 2 callers
Function
ToUintE
ToUintE casts an empty interface to an uint.
util/conv/caste.go:235
↓ 2 callers
Method
TopLevelDomain
TopLevelDomain generates random top level domain
util/pseudo/internet.go:24
↓ 2 callers
Method
Typ
Typ identifies the type of the JSON web token
util/csjwt/claims.go:60
↓ 2 callers
Function
UnicodeVersion
UnicodeVersion reports the requested Unicode version.
_codegen/localization/gen/gen.go:79
↓ 2 callers
Method
Union
Union gets used in the top level statement.
sql/dml/with.go:103
↓ 2 callers
Method
Unique
Unique removes duplicate entries in O(n)
util/slices/int64.go:139
↓ 2 callers
Method
Unique
Unique removes duplicate entries and discards "" empty strings.
util/slices/string.go:182
↓ 2 callers
Method
UniqueKeys
UniqueKeys returns all unique key columns. It may append the columns to the provided argument slice.
sql/ddl/columns.go:232
↓ 2 callers
Method
Unmarshal
(dAtA []byte)
storage/null/null.enc.go:872
↓ 2 callers
Method
UnmarshalBinary
UnmarshalBinary implements encoding.BinaryUnmarshaler
store/scope/typeid.go:130
↓ 2 callers
Method
UnmarshalEasyJSON
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
storage/null/easyjson_easyjson_test.go:100
↓ 2 callers
Method
UnmarshalJSON
MarshalJSON implements json.Marshaler
store/scope/perm.go:142
↓ 2 callers
Method
UnmarshalJSON
UnmarshalJSON implements the json.Unmarshaler interface.
storage/null/decimal.go:370
↓ 2 callers
Method
UnmarshalJSON
UnmarshalJSON supports json.Unmarshaler interface
config/observer/json_easyjson.go:122
↓ 2 callers
Method
UnmarshalJSON
UnmarshalJSON supports json.Unmarshaler interface
config/observer/validator_easyjson.go:188
↓ 2 callers
Method
UnmarshalText
UnmarshalText implements encoding.TextUnmarshaler
store/scope/typeid.go:113
↓ 2 callers
Method
UnmarshalText
UnmarshalText implements the encoding.TextUnmarshaler interface for XML deserialization.
storage/null/decimal.go:445
↓ 2 callers
Method
UnmarshalText
(data []byte)
util/csjwt/token_test.go:104
↓ 2 callers
Method
Unwrap
Unwrap returns the original proxied target.
net/responseproxy/tee_writer.go:27
↓ 2 callers
Method
Update
Update applies the data from the new Field to the old field and returns the updated Field. Only non-empty values will be copied and byte slices gets c
config/elements.go:597
↓ 2 callers
Method
UpdateCustomerAddressEntities
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated5/tables_gen.go:729
↓ 2 callers
Method
UpdateStoreWebsite
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated3/rev_fk_gen.go:547
↓ 2 callers
Method
UpdateStores
(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc)
sql/dmlgen/dmltestgenerated3/rev_fk_gen.go:685
↓ 2 callers
Method
Validate
Validate runs internal consistency tests on all items.
sql/dmlgen/dmltestgenerated2/no_db_gen.go:384
↓ 2 callers
Method
Validate
Validate runs internal consistency tests on all items.
sql/dmlgen/dmltestgenerated5/tables_gen.go:2127
↓ 2 callers
Method
Validate
Validate validates the table names and their column against the current database schema. The context is used to maybe cancel the "Load Columns" query.
sql/ddl/tables.go:575
↓ 2 callers
Method
Validate
Validate validates the current slice and used in GRPC middleware.
config/observer/json.go:102
↓ 2 callers
Method
WeekDay
WeekDay generates name ot the week day
util/pseudo/dates.go:11
↓ 2 callers
Function
WithCountryFinderHTTPClient
WithCountryFinderHTTPClient uses for each incoming a request a lookup request to the Maxmind Webservice http://dev.maxmind.com/geoip/geoip2/web-servic
net/geoip/maxmindwebservice/options.go:51
↓ 2 callers
Function
WithCreateTable
WithCreateTable upserts tables to the current `Tables` object. Either it adds a new table/view or overwrites existing entries. Argument `identifierCre
sql/ddl/tables.go:193
↓ 2 callers
Method
WithDBR
WithDBR sets the database query object and creates a database runner.
sql/dml/dbr.go:204
↓ 2 callers
Function
WithDSN
WithDSN sets the data source name for a connection. Second argument DriverCallBack adds a low level call back function on MySQL driver level to create
sql/dml/connection.go:337
↓ 2 callers
Function
WithDSNFromEnv
WithDSNFromEnv loads the DSN string from an environment variable named by `dsnEnvName`. If `dsnEnvName` is empty, then it falls back to the environmen
sql/dml/connection.go:368
↓ 2 callers
Function
WithDisable
WithDisable disables the current service and calls the next HTTP handler. The variadic "scopeIDs" argument define to which scope the value gets appli
net/internal/scopedservice/options_generic.go:82
↓ 2 callers
Function
WithECPrivateKeyFromFile
WithECPrivateKeyFromFile parses file PEM encoded Elliptic Curve Private Key Structure. Public key will be derived from the private key. Provide a pass
util/csjwt/keys.go:245
↓ 2 callers
Function
WithECPrivateKeyFromPEM
WithECPrivateKeyFromPEM parses PEM encoded Elliptic Curve Private Key Structure. Provide a password as a second argument when the private key is encry
util/csjwt/keys.go:233
↓ 2 callers
Function
WithECPublicKeyFromFile
WithECPublicKeyFromFile parses a file PEM encoded Elliptic Curve Public Key Structure.
util/csjwt/keys.go:214
↓ 2 callers
Function
WithErrorHandler
WithErrorHandler adds a custom error handler. Gets called in the http.Handler after the scope can be extracted from the context.Context and the config
net/internal/scopedservice/options_generic.go:66
↓ 2 callers
Function
WithForeignKeyRelationships
WithForeignKeyRelationships analyzes the foreign keys which points to a table and adds them as a struct field name. For example: customer_address_enti
sql/dmlgen/options.go:96
↓ 2 callers
Function
WithGroups
WithGroups upserts new groups to the Store service. It clears the internal cache group and sorts the groups by GroupID.
store/options.go:59
↓ 2 callers
Function
WithMarkPartiallyApplied
WithMarkPartiallyApplied if set to true marks a configuration for a scope as partially applied with functional options set via source code. The intern
net/internal/scopedservice/options_generic.go:104
↓ 2 callers
Function
WithOptionFactory
WithOptionFactory applies a function which lazily loads the options from a slow backend (config.Getter) depending on the incoming scope within a reque
net/internal/scopedservice/options_generic.go:179
↓ 2 callers
Function
WithPasswordFromFile
WithPasswordFromFile loads the content of a file and uses that content as the password for the HMAC-SHA signing method.
util/csjwt/keys.go:128
↓ 2 callers
Function
WithPasswordRandom
WithPasswordRandom creates cryptographically secure random password which you cannot obtain. Whenever you restart your app with a random password, all
util/csjwt/keys.go:117
↓ 2 callers
Method
WithPreparedStmt
WithPreparedStmt uses a SQL statement as DB connection.
sql/dml/dbr.go:831
↓ 2 callers
Function
WithRSAPrivateKeyFromPEM
WithRSAPrivateKeyFromPEM parses PEM encoded PKCS1 or PKCS8 private key. Provide a password as a second argument when the private key is encrypted. Pub
util/csjwt/keys.go:164
↓ 2 callers
Function
WithRSAPublicKeyFromPEM
WithRSAPublicKeyFromPEM parses PEM encoded PKCS1 or PKCS8 public key
util/csjwt/keys.go:139
↓ 2 callers
Function
WithStores
WithStores upserts new stores to the Store service. It clears the internal cache store and sorts the stores by StoreID.
store/options.go:24
↓ 2 callers
Method
WithToken
WithToken parses and validates a token depending on the scope. A check to the blockList will be performed. The token gets added to the context for fur
net/jwt/service_mw_token.go:30
← previous
next →
1,401–1,500 of 7,620, ranked by callers