MCPcopy Create free account

hub / github.com/aliml92/anor / functions

Functions2,954 in github.com/aliml92/anor

↓ 1 callersMethodGetCachedCategoryHierarchy
(ctx context.Context, categoryID int32)
cache/category.go:14
↓ 1 callersMethodGetCachedCategoryWithAncestors
(ctx context.Context, categoryID int32)
cache/category.go:15
↓ 1 callersMethodGetCartByID
(ctx context.Context, id int64)
postgres/repository/cart/querier.go:22
↓ 1 callersMethodGetCategory
(ctx context.Context, categoryID int32)
postgres/category_service.go:29
↓ 1 callersMethodGetCategoryByName
(ctx context.Context, category string)
postgres/repository/category/querier.go:15
↓ 1 callersMethodGetCategoryHierarchy
(ctx context.Context, category Category)
category.go:39
↓ 1 callersMethodGetCategoryWithAncestors
(ctx context.Context, id int32)
postgres/repository/category/querier.go:16
↓ 1 callersMethodGetCategoryWithSiblings
(ctx context.Context, id int32)
postgres/repository/category/querier.go:17
↓ 1 callersMethodGetChildCategories
(ctx context.Context, categoryID int32)
postgres/category_service.go:113
↓ 1 callersMethodGetChildCategories
(ctx context.Context, parentID *int32)
postgres/repository/category/querier.go:18
↓ 1 callersMethodGetEmailByOTP
(ctx context.Context, otp string)
cache/auth/signup_confirmation_otp.go:10
↓ 1 callersMethodGetExpiry
(ctx context.Context)
redis/session/manager.go:128
↓ 1 callersMethodGetMinMaxPricesByCategory
(ctx context.Context, category Category)
product.go:159
↓ 1 callersMethodGetMinMaxPricesByCategoryID
(ctx context.Context, categoryID int32)
postgres/repository/product/querier.go:21
↓ 1 callersMethodGetMinMaxPricesByCategoryIDs
(ctx context.Context, leafcategoryids []int32)
postgres/repository/product/querier.go:22
↓ 1 callersMethodGetProductAttributesByProductID
(ctx context.Context, productID int64)
postgres/repository/product/querier.go:25
↓ 1 callersMethodGetProductBrandsByCategoryID
(ctx context.Context, categoryID int32)
postgres/repository/product/querier.go:26
↓ 1 callersMethodGetProductBrandsByCategoryIDs
(ctx context.Context, leafcategoryids []int32)
postgres/repository/product/querier.go:27
↓ 1 callersMethodGetProductByID
(ctx context.Context, id int64)
postgres/repository/product/querier.go:28
↓ 1 callersMethodGetProductPricingByProductID
(ctx context.Context, productID int64)
postgres/repository/product/querier.go:30
↓ 1 callersMethodGetProductVariantPricingByVariantID
(ctx context.Context, variantID int64)
postgres/repository/product/querier.go:32
↓ 1 callersMethodGetProductVariantsByProductID
(ctx context.Context, productID int64)
postgres/repository/product/querier.go:34
↓ 1 callersMethodGetProductWithStoreAndPricingByID
(ctx context.Context, id int64)
postgres/repository/product/querier.go:35
↓ 1 callersMethodGetRootCategories
(ctx context.Context)
postgres/repository/category/querier.go:20
↓ 1 callersMethodGetSiblingCategories
(ctx context.Context, id int32)
category.go:36
↓ 1 callersMethodGetSiblingCategories
(ctx context.Context, categoryID int32)
postgres/category_service.go:90
↓ 1 callersMethodGetUser
(ctx context.Context, id int64)
postgres/repository/user/querier.go:17
↓ 1 callersMethodGetUserByEmail
(ctx context.Context, email string)
postgres/repository/user/querier.go:18
↓ 1 callersMethodGetUserDefaultAddress
(ctx context.Context, userID int64, defaultFor NullAddressDefaultType)
postgres/repository/address/querier.go:14
↓ 1 callersMethodGetUserIDByToken
(ctx context.Context, token string)
cache/auth/reset_password_token.go:11
↓ 1 callersMethodGroup
(prefix string, middlewares ...MiddlewareFunc)
router.go:56
↓ 1 callersFunctionHashPassword
(password string)
pkg/utils/utils.go:42
↓ 1 callersFunctionHe
(t)
web/static/js/bootstrap.bundle.min.js:6
↓ 1 callersMethodIncrementCartItemQty
(ctx context.Context, cartID int64, variantID int64, qty int32)
postgres/repository/cart/querier.go:26
↓ 1 callersMethodIndexProduct
(ctx context.Context, p anor.Product)
typesense/index.go:13
↓ 1 callersMethodIndexStore
(ctx context.Context, ss anor.Store)
typesense/index.go:52
↓ 1 callersFunctionInitCollections
(ctx context.Context, c *typesense.Client)
typesense/init.go:103
↓ 1 callersFunctionInt32Value
Int32Value returns the value of the int32 pointer passed in or 0 if the pointer is nil.
pointer.go:68
↓ 1 callersMethodIsMyItem
(ctx context.Context, params IsMyCartItemParams)
cart.go:67
↓ 1 callersFunctionJSONClientError
(logger *slog.Logger, w http.ResponseWriter, err error, statusCode int)
error.go:139
↓ 1 callersFunctionJSONServerInternalError
JSONServerInternalError writes a JSON error response to the http.ResponseWriter
error.go:120
↓ 1 callersFunctionLe
(t,e)
web/static/js/bootstrap.bundle.min.js:6
↓ 1 callersMethodListActive
(ctx context.Context, params OrderListParams)
order.go:91
↓ 1 callersMethodListActiveByUserID
(ctx context.Context, userID int64, limit int32, offset int32)
postgres/repository/order/querier.go:19
↓ 1 callersMethodListActiveWithPaymentAndAddressByUserID
(ctx context.Context, userID int64, limit int32, offset int32)
postgres/repository/order/querier.go:20
↓ 1 callersMethodListAddressesByUserID
(ctx context.Context, userID int64, offset int32, limit int32)
postgres/repository/address/querier.go:15
↓ 1 callersMethodListAllActive
(ctx context.Context)
featured_selection.go:35
↓ 1 callersMethodListAllActive
(ctx context.Context)
postgres/repository/featured_selection/querier.go:15
↓ 1 callersMethodListAllBrandsByCategory
(ctx context.Context, category Category)
product.go:158
↓ 1 callersMethodListByCategory
(ctx context.Context, category Category, params ListByCategoryParams)
product.go:157
↓ 1 callersMethodListByUserID
(ctx context.Context, userID int64, limit int32, offset int32)
postgres/repository/order/querier.go:21
↓ 1 callersMethodListPopularProducts
(ctx context.Context, params PopularProductListParams)
product.go:161
↓ 1 callersMethodListPopularProducts
(ctx context.Context, limit int32, offset int32, productIDs []int64)
postgres/repository/product/querier.go:36
↓ 1 callersMethodListUnpaid
(ctx context.Context, params OrderListParams)
order.go:92
↓ 1 callersMethodListUnpaidPaymentByUserID
(ctx context.Context, userID int64, limit int32, offset int32)
postgres/repository/order/querier.go:22
↓ 1 callersMethodListUnpaidWithPaymentAndAddressByUserID
(ctx context.Context, userID int64, limit int32, offset int32)
postgres/repository/order/querier.go:23
↓ 1 callersMethodListWithPaymentAndAddressByUserID
(ctx context.Context, userID int64, limit int32, offset int32)
postgres/repository/order/querier.go:24
↓ 1 callersFunctionMe
(t,e,i)
web/static/js/bootstrap.bundle.min.js:6
↓ 1 callersMethodMergeGuestCartWithUserCart
(ctx context.Context, guestCartID int64, userCartID int64)
postgres/repository/cart/querier.go:28
↓ 1 callersFunctionNew
(db DBTX)
postgres/repository/product/db.go:20
↓ 1 callersFunctionNew
(db DBTX)
postgres/repository/user/db.go:20
↓ 1 callersFunctionNew
(db DBTX)
postgres/repository/featured_selection/db.go:20
↓ 1 callersFunctionNew
(db DBTX)
postgres/repository/payment/db.go:20
↓ 1 callersFunctionNew
(db DBTX)
postgres/repository/store/db.go:20
↓ 1 callersFunctionNew
(db DBTX)
postgres/repository/category/db.go:20
↓ 1 callersFunctionNew
(db DBTX)
postgres/repository/cart/db.go:20
↓ 1 callersFunctionNew
(db DBTX)
postgres/repository/order/db.go:21
↓ 1 callersFunctionNew
(db DBTX)
postgres/repository/address/db.go:20
↓ 1 callersFunctionNew
New creates and returns a new Config instance
config/config.go:104
↓ 1 callersFunctionNewAddressService
(ar address.Repository)
postgres/address_service.go:19
↓ 1 callersFunctionNewAuthService
(config ServiceConfig)
storefront/auth/service.go:50
↓ 1 callersFunctionNewCartService
(cr cart.Repository, pr product.Repository)
postgres/cart_service.go:26
↓ 1 callersFunctionNewCategoryService
(cr category.Repository, cache cache.CategoryCache)
postgres/category_service.go:22
↓ 1 callersFunctionNewClient
(ctx context.Context, cfg config.RedisConfig)
redis/init.go:9
↓ 1 callersFunctionNewDatabasePool
(ctx context.Context, cfg *config.DatabaseConfig)
postgres/init.go:14
↓ 1 callersFunctionNewEmailer
(cfg config.EmailConfig)
brevo/emailer.go:22
↓ 1 callersFunctionNewFeaturedSelectionService
(fsr featured_selection.Repository, pr product.Repository, cr category.Repository)
postgres/feature_selection_service.go:24
↓ 1 callersFunctionNewHandler
(cfg *HandlerConfig)
storefront/auth/handler.go:37
↓ 1 callersFunctionNewHandler
(cfg *HandlerConfig)
storefront/product/handler.go:51
↓ 1 callersFunctionNewHandler
(cfg *HandlerConfig)
storefront/user/handler.go:39
↓ 1 callersFunctionNewHandler
NewHandler creates and returns a new Handler instance.
storefront/checkout/handler.go:47
↓ 1 callersMethodNewMessage
(subject string, to string, tmplName string, data interface{})
email/emailer.go:12
↓ 1 callersFunctionNewOrderService
(or order.Repository)
postgres/order_service.go:22
↓ 1 callersFunctionNewProductService
(ps product.Repository, cs category.Repository)
postgres/product_service.go:28
↓ 1 callersFunctionNewRepository
(pool *pgxpool.Pool)
postgres/repository/product/repository.go:25
↓ 1 callersFunctionNewRepository
(pool *pgxpool.Pool)
postgres/repository/user/repository.go:21
↓ 1 callersFunctionNewRepository
(db *pgxpool.Pool)
postgres/repository/store/repository.go:15
↓ 1 callersFunctionNewRepository
(db *pgxpool.Pool)
postgres/repository/category/repository.go:15
↓ 1 callersFunctionNewRouter
()
router.go:50
↓ 1 callersFunctionNewSKUGenerator
(category, product string)
pkg/utils/utils.go:110
↓ 1 callersFunctionNewSearcher
(client *typesense.Client)
typesense/searcher.go:9
↓ 1 callersFunctionNewStipePaymentService
(pr payment.Repository)
postgres/stripe_card_payment_service.go:19
↓ 1 callersFunctionNewUserService
(us user.Repository, cs cart.Repository, os order.Repository)
postgres/user_service.go:29
↓ 1 callersFunctionNewView
()
html/view.go:21
↓ 1 callersFunctionQt
(t)
web/static/js/bootstrap.bundle.min.js:6
↓ 1 callersFunctionRegisterRoutes
(h *Handler, router *anor.Router)
storefront/auth/routes.go:7
↓ 1 callersFunctionRegisterRoutes
RegisterRoutes sets up the routing for the product-related endpoints. It maps HTTP methods and paths to their respective handler functions.
storefront/product/routes.go:9
↓ 1 callersFunctionRegisterRoutes
RegisterRoutes sets up the routing for the user-related endpoints. It maps HTTP methods and paths to their respective handler functions.
storefront/user/routes.go:9
↓ 1 callersFunctionRegisterRoutes
RegisterRoutes sets up the routing for the checkout-related endpoints. It maps HTTP methods and paths to their respective handler functions.
storefront/checkout/routes.go:9
↓ 1 callersMethodResendOTP
(ctx context.Context, email string)
auth.go:12
← previousnext →1,101–1,200 of 2,954, ranked by callers