MCPcopy Create free account

hub / github.com/aliml92/anor / functions

Functions2,954 in github.com/aliml92/anor

FunctionPopover
(targetEl, triggerEl, options, instanceOptions)
web/static/js/app.bundle.js:4058
MethodProductDetailsView
ProductDetailsView handles the request for the product details page.
storefront/product/handle_product_details_view.go:18
MethodProductListingsView
ProductListingsView handles the request for the product details page.
storefront/product/handle_product_listings_view.go:46
MethodProfileView
(w http.ResponseWriter, r *http.Request)
storefront/user/hande_profile_view.go:8
MethodQuery
(context.Context, string, ...interface{})
postgres/repository/product/db.go:16
MethodQuery
(context.Context, string, ...interface{})
postgres/repository/user/db.go:16
MethodQuery
(context.Context, string, ...interface{})
postgres/repository/featured_selection/db.go:16
MethodQuery
(context.Context, string, ...interface{})
postgres/repository/payment/db.go:16
MethodQuery
(context.Context, string, ...interface{})
postgres/repository/store/db.go:16
MethodQuery
(context.Context, string, ...interface{})
postgres/repository/category/db.go:16
MethodQuery
(context.Context, string, ...interface{})
postgres/repository/cart/db.go:16
MethodQuery
(context.Context, string, ...interface{})
postgres/repository/order/db.go:16
MethodQueryRow
(context.Context, string, ...interface{})
postgres/repository/product/db.go:17
MethodQueryRow
(context.Context, string, ...interface{})
postgres/repository/user/db.go:17
MethodQueryRow
(context.Context, string, ...interface{})
postgres/repository/featured_selection/db.go:17
MethodQueryRow
(context.Context, string, ...interface{})
postgres/repository/payment/db.go:17
MethodQueryRow
(context.Context, string, ...interface{})
postgres/repository/store/db.go:17
MethodQueryRow
(context.Context, string, ...interface{})
postgres/repository/category/db.go:17
MethodQueryRow
(context.Context, string, ...interface{})
postgres/repository/cart/db.go:17
MethodQueryRow
(context.Context, string, ...interface{})
postgres/repository/order/db.go:17
MethodR
()
web/static/js/hyperscript.org@0.9.12.js:1
MethodRedirectAuth
(next http.Handler)
storefront/auth/middlewares.go:8
FunctionRegisterRoutes
(h *Handler, router *anor.Router)
storefront/cart/routes.go:7
MethodRemoveCartItem
(w http.ResponseWriter, r *http.Request)
storefront/cart/handle_remove_cart_item.go:14
MethodRender
(w http.ResponseWriter, name string, data interface{})
html/view.go:34
FunctionRequestID
RequestID is a middleware that ensures each request has a unique identifier. It checks for an existing ID in the request header, generates a new UUID
middlewares/request_id.go:17
FunctionRequireAuth
(next http.Handler)
middlewares/require_auth.go:9
MethodResendOTP
ResendOTP calls ResendOTPFunc.
mocks/auth_service.go:193
MethodResendOTP
(ctx context.Context, email string)
storefront/auth/service.go:201
MethodResendOTP
(w http.ResponseWriter, r *http.Request)
storefront/auth/handle_resend_otp.go:33
MethodResendOTPCalls
ResendOTPCalls gets all the calls that were made to ResendOTP. Check the length with: len(mockedAuthService.ResendOTPCalls())
mocks/auth_service.go:214
MethodResetPassword
ResetPassword calls ResetPasswordFunc.
mocks/auth_service.go:229
MethodResetPassword
(w http.ResponseWriter, r *http.Request)
storefront/auth/handle_reset_password.go:46
MethodResetPassword
(ctx context.Context, token string, password string)
storefront/auth/service.go:239
MethodResetPasswordCalls
ResetPasswordCalls gets all the calls that were made to ResetPassword. Check the length with: len(mockedAuthService.ResetPasswordCalls())
mocks/auth_service.go:252
MethodResetPasswordView
(w http.ResponseWriter, r *http.Request)
storefront/auth/handle_reset_password_view.go:9
MethodRetrieveOrderSummary
(w http.ResponseWriter, r *http.Request)
storefront/checkout/handle_retrieve_order_summary.go:12
MethodS
()
web/static/js/hyperscript.org@0.9.12.js:1
MethodSaveStripeConfirmationToken
(w http.ResponseWriter, r *http.Request)
storefront/checkout/handle_save_stripe_confirmation_token.go:28
MethodScan
Scan implements the Scanner interface.
postgres/repository/product/models.go:41
MethodScan
(src any)
postgres/repository/product/types.go:39
MethodScan
Scan implements the Scanner interface.
postgres/repository/user/models.go:40
MethodScan
Scan implements the Scanner interface.
postgres/repository/cart/models.go:43
MethodScan
(src interface{})
postgres/repository/order/models.go:22
MethodScan
Scan implements the Scanner interface.
postgres/repository/order/models.go:40
MethodScan
Scan implements the Scanner interface.
postgres/repository/order/models.go:86
MethodScan
(src interface{})
postgres/repository/order/models.go:112
MethodScan
Scan implements the Scanner interface.
postgres/repository/order/models.go:130
MethodScan
(src interface{})
postgres/repository/order/models.go:154
MethodScan
Scan implements the Scanner interface.
postgres/repository/order/models.go:172
MethodScan
Scan implements the Scanner interface.
postgres/repository/address/models.go:39
FunctionScroll
(Splide2, Components2, options)
web/static/js/splide.js:2032
MethodSearchListingsView
SearchListingsView handles the search request. It returns search listings view page
storefront/product/handle_search_listings_view.go:53
MethodSearchProducts
(ctx context.Context, q string, p search.ProductsParams)
typesense/search_products.go:37
MethodSearchQuerySuggestions
(ctx context.Context, q string)
typesense/search_query_suggestions.go:9
MethodSearchQuerySuggestionsView
SearchQuerySuggestionsView handles search query suggestions requests. It parses the query parameter, fetches product, category and store suggestions,
storefront/product/handle_search_query_sug_view.go:14
MethodSend
(ctx context.Context, m email.Message)
brevo/emailer.go:50
MethodSendResetPasswordLink
SendResetPasswordLink calls SendResetPasswordLinkFunc.
mocks/auth_service.go:269
MethodSendResetPasswordLink
(w http.ResponseWriter, r *http.Request)
storefront/auth/handle_send_reset_password_link.go:32
MethodSendResetPasswordLink
(ctx context.Context, email string)
storefront/auth/service.go:217
MethodSendResetPasswordLinkCalls
SendResetPasswordLinkCalls gets all the calls that were made to SendResetPasswordLink. Check the length with: len(mockedAuthService.SendResetPasswor
mocks/auth_service.go:290
MethodSetOrderAddress
(w http.ResponseWriter, r *http.Request)
storefront/checkout/handle_set_order_address.go:45
MethodSignin
Signin calls SigninFunc.
mocks/auth_service.go:305
MethodSignin
(ctx context.Context, email, password string)
storefront/auth/service.go:168
MethodSignin
(w http.ResponseWriter, r *http.Request)
storefront/auth/handle_signin.go:36
MethodSigninCalls
SigninCalls gets all the calls that were made to Signin. Check the length with: len(mockedAuthService.SigninCalls())
mocks/auth_service.go:328
MethodSigninView
(w http.ResponseWriter, r *http.Request)
storefront/auth/handle_signin_view.go:8
MethodSigninWithGoogle
(ctx context.Context, email, name string)
storefront/auth/service.go:260
MethodSignup
Signup calls SignupFunc.
mocks/auth_service.go:345
MethodSignup
(ctx context.Context, name, email, password string)
storefront/auth/service.go:85
MethodSignup
(w http.ResponseWriter, r *http.Request)
storefront/auth/handle_signup.go:64
MethodSignupCalls
SignupCalls gets all the calls that were made to Signup. Check the length with: len(mockedAuthService.SignupCalls())
mocks/auth_service.go:370
MethodSignupConfirm
SignupConfirm calls SignupConfirmFunc.
mocks/auth_service.go:389
MethodSignupConfirm
(ctx context.Context, otp, email string)
storefront/auth/service.go:152
MethodSignupConfirmCalls
SignupConfirmCalls gets all the calls that were made to SignupConfirm. Check the length with: len(mockedAuthService.SignupConfirmCalls())
mocks/auth_service.go:412
MethodSignupConfirmation
(w http.ResponseWriter, r *http.Request)
storefront/auth/handle_signup_confirmation.go:40
MethodSignupView
(w http.ResponseWriter, r *http.Request)
storefront/auth/handle_signup_view.go:8
FunctionSlide
(Splide2, Components2, options)
web/static/js/splide.js:2923
FunctionSlides
(Splide2, Components2, options)
web/static/js/splide.js:1022
FunctionSplitMap
(m map[string]string)
html/funcs/specific.go:27
FunctionStepperClass
(i, curr int)
html/funcs/specific.go:182
FunctionSub
(a, b interface{})
html/funcs/generic.go:21
FunctionSub1
(i interface{})
html/funcs/generic.go:58
FunctionSubd
(a, b decimal.Decimal)
html/funcs/generic.go:25
MethodSuccessView
(w http.ResponseWriter, r *http.Request)
storefront/checkout/handle_success_view.go:10
FunctionSync
(Splide2, Components2, options)
web/static/js/splide.js:2669
MethodT
()
web/static/js/hyperscript.org@0.9.12.js:1
FunctionTabs
(tabsEl, items, options, instanceOptions)
web/static/js/app.bundle.js:4311
FunctionThrower
( ex )
web/static/js/jquery.js:3378
FunctionTime
Time returns a pointer to the time.Time value passed in.
pointer.go:90
FunctionTimeValue
TimeValue returns the value of the time.Time pointer passed in or the zero value of time.Time if the pointer is nil.
pointer.go:96
MethodTokenExists
(ctx context.Context, token string)
redis/cache/auth/reset_password_token.go:31
FunctionTooltip
(targetEl, triggerEl, options, instanceOptions)
web/static/js/app.bundle.js:4469
MethodTrendingProductsView
TrendingProductsView handles requests for trending product suggestions on search dropdown list
storefront/product/handle_trending_products_view.go:12
FunctionTween
( elem, options, prop, end, easing )
web/static/js/jquery.js:7035
MethodUpdate
(ctx context.Context, id int64, params anor.CartUpdateParams)
postgres/cart_service.go:205
MethodUpdateCart
UpdateCart calls UpdateCartFunc.
mocks/cart_service.go:489
MethodUpdateCartCalls
UpdateCartCalls gets all the calls that were made to UpdateCart. Check the length with: len(mockedCartService.UpdateCartCalls())
mocks/cart_service.go:510
MethodUpdateCartItem
UpdateCartItem calls UpdateCartItemFunc.
mocks/cart_service.go:525
MethodUpdateCartItem
(w http.ResponseWriter, r *http.Request)
storefront/cart/handle_update_cart_item.go:44
← previousnext →2,301–2,400 of 2,954, ranked by callers