MCPcopy Create free account

hub / github.com/aliml92/anor / functions

Functions2,954 in github.com/aliml92/anor

↓ 1 callersFunctionupdateAvailability3
(selects, productVariantMatrix)
web/static/js/script.js:728
↓ 1 callersFunctionupdateOptions1
(select)
web/static/js/script.js:607
↓ 1 callersFunctionupdateScrollState
(content, swapSpec)
web/static/js/htmx.js:2837
↓ 1 callersFunctionupdateVisibility
()
web/static/js/splide.js:951
↓ 1 callersFunctionvalidateCategoryHandle
(handle string)
storefront/product/validation_funcs.go:21
↓ 1 callersFunctionvalidateElement
(element, errors)
web/static/js/htmx.js:2571
↓ 1 callersFunctionvalidateQuantity
(evt)
web/static/js/script.js:1005
↓ 1 callersFunctionvalidateSearchQuery
(q string)
storefront/product/validation_funcs.go:41
↓ 1 callersFunctionvendorPropName
( name )
web/static/js/jquery.js:6527
↓ 1 callersFunctionverifyPath
(elt, path, requestConfig)
web/static/js/htmx.js:3021
↓ 1 callersFunctionwithinMaxClamp
(min, value, max)
web/static/js/app.bundle.js:488
↓ 1 callersMethodwrapArrays
(e)
web/static/js/hyperscript.org@0.9.12.js:1
MethodA
()
web/static/js/hyperscript.org@0.9.12.js:1
FunctionAccordion
(accordionEl, items, options, instanceOptions)
web/static/js/app.bundle.js:2160
FunctionAdd
Basic arithmetic functions
html/funcs/generic.go:13
FunctionAdd1
(i interface{})
html/funcs/generic.go:54
MethodAddAddress
(w http.ResponseWriter, r *http.Request)
storefront/user/handle_add_address.go:57
MethodAddCartItem
(ctx context.Context, cartID int64, variantID int64, qty int32, price decimal.Decimal, currency string, thumbn
postgres/repository/cart/insert.sql.go:23
MethodAddCartItem
AddCartItem calls AddCartItemFunc.
mocks/cart_service.go:185
MethodAddCartItemCalls
AddCartItemCalls gets all the calls that were made to AddCartItem. Check the length with: len(mockedCartService.AddCartItemCalls())
mocks/cart_service.go:208
MethodAddItem
(ctx context.Context, params anor.CartItemAddParams)
postgres/cart_service.go:282
MethodAddToCart
(w http.ResponseWriter, r *http.Request)
storefront/cart/handle_add_to_cart.go:45
MethodAddressView
(w http.ResponseWriter, r *http.Request)
storefront/checkout/handle_address_view.go:14
FunctionAddressesEmpty
(a, b anor.Address, c, d []anor.Address)
html/funcs/specific.go:192
MethodAll
()
redis/session/store.go:70
MethodAllCtx
(ctx context.Context)
redis/session/store.go:129
FunctionArrows
(Splide2, Components2, options)
web/static/js/splide.js:1774
FunctionAutoplay
(Splide2, Components2, options)
web/static/js/splide.js:1887
MethodBind
(r *http.Request)
storefront/auth/handle_reset_password.go:18
MethodBind
(r *http.Request)
storefront/auth/handle_send_reset_password_link.go:16
MethodBind
(r *http.Request)
storefront/auth/handle_signup.go:34
MethodBind
(r *http.Request)
storefront/auth/handle_signup_confirmation.go:18
MethodBind
(r *http.Request)
storefront/auth/handle_resend_otp.go:17
MethodBind
(r *http.Request)
storefront/auth/handle_signin.go:18
MethodBind
(r *http.Request)
storefront/product/handle_product_listings_view.go:21
MethodBind
Bind parses URL query parameters and populates the QueryParams struct.
storefront/product/listings_query_params.go:48
MethodBind
(r *http.Request)
storefront/product/handle_search_listings_view.go:21
MethodBind
(r *http.Request)
storefront/user/handle_add_address.go:25
MethodBind
(r *http.Request)
storefront/checkout/handle_save_stripe_confirmation_token.go:15
MethodBind
(r *http.Request)
storefront/checkout/handle_set_order_address.go:19
MethodBind
(r *http.Request)
storefront/cart/handle_add_to_cart.go:21
MethodBind
(r *http.Request)
storefront/cart/handle_update_cart_item.go:18
FunctionBoolValue
BoolValue returns the value of the bool pointer passed in or false if the pointer is nil.
pointer.go:12
MethodC
()
web/static/js/hyperscript.org@0.9.12.js:1
FunctionCORSMiddleware
CORSMiddleware creates a new CORS middleware with the given configuration
middlewares/cors.go:31
MethodCacheCategory
(ctx context.Context, categoryID int32, category anor.Category, ttl time.Duration)
redis/cache/category_cache.go:29
MethodCacheCategoryHierarchy
( ctx context.Context, categoryID int32, hierarchy anor.CategoryHierarchy, ttl time.Duration, )
redis/cache/category_cache.go:39
MethodCacheCategoryWithAncestors
( ctx context.Context, categoryID int32, cwa anor.CategoryWithAncestors, ttl time.Duration, )
redis/cache/category_cache.go:54
MethodCacheOTP
(ctx context.Context, otp string, email string, ttl time.Duration)
redis/cache/auth/signup_confirmation_otp.go:24
MethodCacheProductBrandsByCategoryID
(ctx context.Context, categoryID int32, brands []string, ttl time.Duration)
cache/product.go:9
MethodCacheProductBrandsByCategoryID
(ctx context.Context, categoryID int32, brands []string, ttl time.Duration)
redis/cache/product_cache.go:24
MethodCacheToken
(ctx context.Context, token string, userID int64, ttl time.Duration)
redis/cache/auth/reset_password_token.go:25
FunctionCarousel
(carouselEl, items, options, instanceOptions)
web/static/js/app.bundle.js:2355
MethodCartItemExistsByCartID
(ctx context.Context, iD int64, cartID int64)
postgres/repository/cart/select.sql.go:19
MethodCartView
(w http.ResponseWriter, r *http.Request)
storefront/cart/handle_cart_view.go:13
FunctionClones
(Splide2, Components2, options)
web/static/js/splide.js:1306
FunctionCollapse
(targetEl, triggerEl, options, instanceOptions)
web/static/js/app.bundle.js:2628
MethodCollectCartData
(ctx context.Context, id int64)
postgres/repository/product/product.sql.go:55
MethodCommit
(token string, b []byte, expiry time.Time)
redis/session/store.go:52
MethodCommitCtx
(ctx context.Context, token string, b []byte, expiry time.Time)
redis/session/store.go:119
MethodConfirmView
(w http.ResponseWriter, r *http.Request)
storefront/checkout/handle_confirm_view.go:17
FunctionContainsPath
(path, target string)
html/funcs/specific.go:215
FunctionController
(Splide2, Components2, options)
web/static/js/splide.js:1553
MethodConvertCartToOrder
ConvertCartToOrder calls ConvertCartToOrderFunc.
mocks/order_service.go:51
MethodConvertCartToOrderCalls
ConvertCartToOrderCalls gets all the calls that were made to ConvertCartToOrder. Check the length with: len(mockedOrderService.ConvertCartToOrderCal
mocks/order_service.go:74
MethodCountCartItems
CountCartItems calls CountCartItemsFunc.
mocks/cart_service.go:225
MethodCountCartItemsByCartID
(ctx context.Context, cartID int64)
postgres/repository/cart/select.sql.go:31
MethodCountCartItemsByUserIdAndCartStatus
(ctx context.Context, userID *int64, status CartStatus)
postgres/repository/cart/select.sql.go:46
MethodCountCartItemsCalls
CountCartItemsCalls gets all the calls that were made to CountCartItems. Check the length with: len(mockedCartService.CountCartItemsCalls())
mocks/cart_service.go:246
MethodCountItems
(ctx context.Context, cartID int64)
postgres/cart_service.go:395
MethodCountViewOnProductListingView
(w http.ResponseWriter, r *http.Request)
storefront/product/handle_analytics.go:10
FunctionCover
(Splide2, Components2, options)
web/static/js/splide.js:1994
MethodCreate
(ctx context.Context, params OrderCreateParams)
order.go:88
MethodCreate
(ctx context.Context, params StripePaymentCreateParams)
stripe_card_payment.go:45
MethodCreate
(ctx context.Context, params UserCreateParams)
user.go:69
MethodCreate
(ctx context.Context, params AddressCreateParams)
address.go:72
MethodCreate
(ctx context.Context, params anor.AddressCreateParams)
postgres/address_service.go:25
MethodCreate
(ctx context.Context, params anor.OrderCreateParams)
postgres/order_service.go:28
MethodCreate
(ctx context.Context, params anor.UserCreateParams)
postgres/user_service.go:37
MethodCreate
(ctx context.Context, params anor.CartCreateParams)
postgres/cart_service.go:33
MethodCreate
(ctx context.Context, params anor.StripePaymentCreateParams)
postgres/stripe_card_payment_service.go:53
MethodCreate
(ctx context.Context, resourcePath string, bannerInfo []byte, imageUrl string, queryParams []byte, startDate p
postgres/repository/featured_selection/querier.go:14
MethodCreate
(ctx context.Context, resourcePath string, bannerInfo []byte, imageUrl string, queryParams []byte, startDate p
postgres/repository/featured_selection/featured_selection.sql.go:22
MethodCreate
(ctx context.Context, orderID int64, userID *int64, billingAddressID int64, paymentIntentID string, paymentMet
postgres/repository/payment/querier.go:15
MethodCreate
(ctx context.Context, orderID int64, userID *int64, billingAddressID int64, paymentIntentID string, paymentMet
postgres/repository/payment/stripe_card_payment.sql.go:22
MethodCreate
(ctx context.Context, userID int64, cartID int64, paymentMethod PaymentMethod, paymentStatus PaymentStatus, st
postgres/repository/order/order.sql.go:22
MethodCreate
Create calls CreateUserFunc.
mocks/user_service.go:123
MethodCreateAddress
(ctx context.Context, userID int64, defaultFor NullAddressDefaultType, name string, addressLine1 string, addre
postgres/repository/address/address.sql.go:20
MethodCreateCart
(ctx context.Context, userID *int64)
postgres/repository/cart/insert.sql.go:62
MethodCreateCart
CreateCart calls CreateCartFunc.
mocks/cart_service.go:261
MethodCreateCartCalls
CreateCartCalls gets all the calls that were made to CreateCart. Check the length with: len(mockedCartService.CreateCartCalls())
mocks/cart_service.go:282
MethodCreateChildCategoryIfNotExists
(ctx context.Context, category string, handle string, parentID *int32)
postgres/repository/category/category.sql.go:35
MethodCreateGuestCart
(ctx context.Context, expiresAt pgtype.Timestamptz)
postgres/repository/cart/insert.sql.go:85
MethodCreateOrderItems
(ctx context.Context, arg []CreateOrderItemsParams)
postgres/repository/order/copyfrom.go:46
MethodCreatePaymentIntent
(w http.ResponseWriter, r *http.Request)
storefront/checkout/handle_create_payment_intent.go:23
MethodCreateProduct
(ctx context.Context, storeID int32, categoryID int32, name string, brand *string, handle string, shortInforma
postgres/repository/product/product.sql.go:80
MethodCreateProductAttribute
(ctx context.Context, productID int64, attribute string)
postgres/repository/product/attribute.sql.go:20
MethodCreateProductPricing
(ctx context.Context, productID int64, basePrice decimal.Decimal, currencyCode string, discount decimal.Decima
postgres/repository/product/pricing.sql.go:22
MethodCreateProductVariant
(ctx context.Context, productID int64, sku string, qty int32, isCustomPriced bool, imageIdentifiers []int16)
postgres/repository/product/product_variant.sql.go:22
MethodCreateProductVariantAttributeValues
(ctx context.Context, variantID int64, productAttributeID int64, attributeValue string)
postgres/repository/product/attribute.sql.go:35
← previousnext →1,801–1,900 of 2,954, ranked by callers