Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aliml92/anor
/ functions
Functions
2,954 in github.com/aliml92/anor
⨍
Functions
2,954
◇
Types & classes
447
Function
Popover
(targetEl, triggerEl, options, instanceOptions)
web/static/js/app.bundle.js:4058
Method
ProductDetailsView
ProductDetailsView handles the request for the product details page.
storefront/product/handle_product_details_view.go:18
Method
ProductListingsView
ProductListingsView handles the request for the product details page.
storefront/product/handle_product_listings_view.go:46
Method
ProfileView
(w http.ResponseWriter, r *http.Request)
storefront/user/hande_profile_view.go:8
Method
Query
(context.Context, string, ...interface{})
postgres/repository/product/db.go:16
Method
Query
(context.Context, string, ...interface{})
postgres/repository/user/db.go:16
Method
Query
(context.Context, string, ...interface{})
postgres/repository/featured_selection/db.go:16
Method
Query
(context.Context, string, ...interface{})
postgres/repository/payment/db.go:16
Method
Query
(context.Context, string, ...interface{})
postgres/repository/store/db.go:16
Method
Query
(context.Context, string, ...interface{})
postgres/repository/category/db.go:16
Method
Query
(context.Context, string, ...interface{})
postgres/repository/cart/db.go:16
Method
Query
(context.Context, string, ...interface{})
postgres/repository/order/db.go:16
Method
QueryRow
(context.Context, string, ...interface{})
postgres/repository/product/db.go:17
Method
QueryRow
(context.Context, string, ...interface{})
postgres/repository/user/db.go:17
Method
QueryRow
(context.Context, string, ...interface{})
postgres/repository/featured_selection/db.go:17
Method
QueryRow
(context.Context, string, ...interface{})
postgres/repository/payment/db.go:17
Method
QueryRow
(context.Context, string, ...interface{})
postgres/repository/store/db.go:17
Method
QueryRow
(context.Context, string, ...interface{})
postgres/repository/category/db.go:17
Method
QueryRow
(context.Context, string, ...interface{})
postgres/repository/cart/db.go:17
Method
QueryRow
(context.Context, string, ...interface{})
postgres/repository/order/db.go:17
Method
R
()
web/static/js/hyperscript.org@0.9.12.js:1
Method
RedirectAuth
(next http.Handler)
storefront/auth/middlewares.go:8
Function
RegisterRoutes
(h *Handler, router *anor.Router)
storefront/cart/routes.go:7
Method
RemoveCartItem
(w http.ResponseWriter, r *http.Request)
storefront/cart/handle_remove_cart_item.go:14
Method
Render
(w http.ResponseWriter, name string, data interface{})
html/view.go:34
Function
RequestID
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
Function
RequireAuth
(next http.Handler)
middlewares/require_auth.go:9
Method
ResendOTP
ResendOTP calls ResendOTPFunc.
mocks/auth_service.go:193
Method
ResendOTP
(ctx context.Context, email string)
storefront/auth/service.go:201
Method
ResendOTP
(w http.ResponseWriter, r *http.Request)
storefront/auth/handle_resend_otp.go:33
Method
ResendOTPCalls
ResendOTPCalls gets all the calls that were made to ResendOTP. Check the length with: len(mockedAuthService.ResendOTPCalls())
mocks/auth_service.go:214
Method
ResetPassword
ResetPassword calls ResetPasswordFunc.
mocks/auth_service.go:229
Method
ResetPassword
(w http.ResponseWriter, r *http.Request)
storefront/auth/handle_reset_password.go:46
Method
ResetPassword
(ctx context.Context, token string, password string)
storefront/auth/service.go:239
Method
ResetPasswordCalls
ResetPasswordCalls gets all the calls that were made to ResetPassword. Check the length with: len(mockedAuthService.ResetPasswordCalls())
mocks/auth_service.go:252
Method
ResetPasswordView
(w http.ResponseWriter, r *http.Request)
storefront/auth/handle_reset_password_view.go:9
Method
RetrieveOrderSummary
(w http.ResponseWriter, r *http.Request)
storefront/checkout/handle_retrieve_order_summary.go:12
Method
S
()
web/static/js/hyperscript.org@0.9.12.js:1
Method
SaveStripeConfirmationToken
(w http.ResponseWriter, r *http.Request)
storefront/checkout/handle_save_stripe_confirmation_token.go:28
Method
Scan
Scan implements the Scanner interface.
postgres/repository/product/models.go:41
Method
Scan
(src any)
postgres/repository/product/types.go:39
Method
Scan
Scan implements the Scanner interface.
postgres/repository/user/models.go:40
Method
Scan
Scan implements the Scanner interface.
postgres/repository/cart/models.go:43
Method
Scan
(src interface{})
postgres/repository/order/models.go:22
Method
Scan
Scan implements the Scanner interface.
postgres/repository/order/models.go:40
Method
Scan
Scan implements the Scanner interface.
postgres/repository/order/models.go:86
Method
Scan
(src interface{})
postgres/repository/order/models.go:112
Method
Scan
Scan implements the Scanner interface.
postgres/repository/order/models.go:130
Method
Scan
(src interface{})
postgres/repository/order/models.go:154
Method
Scan
Scan implements the Scanner interface.
postgres/repository/order/models.go:172
Method
Scan
Scan implements the Scanner interface.
postgres/repository/address/models.go:39
Function
Scroll
(Splide2, Components2, options)
web/static/js/splide.js:2032
Method
SearchListingsView
SearchListingsView handles the search request. It returns search listings view page
storefront/product/handle_search_listings_view.go:53
Method
SearchProducts
(ctx context.Context, q string, p search.ProductsParams)
typesense/search_products.go:37
Method
SearchQuerySuggestions
(ctx context.Context, q string)
typesense/search_query_suggestions.go:9
Method
SearchQuerySuggestionsView
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
Method
Send
(ctx context.Context, m email.Message)
brevo/emailer.go:50
Method
SendResetPasswordLink
SendResetPasswordLink calls SendResetPasswordLinkFunc.
mocks/auth_service.go:269
Method
SendResetPasswordLink
(w http.ResponseWriter, r *http.Request)
storefront/auth/handle_send_reset_password_link.go:32
Method
SendResetPasswordLink
(ctx context.Context, email string)
storefront/auth/service.go:217
Method
SendResetPasswordLinkCalls
SendResetPasswordLinkCalls gets all the calls that were made to SendResetPasswordLink. Check the length with: len(mockedAuthService.SendResetPasswor
mocks/auth_service.go:290
Method
SetOrderAddress
(w http.ResponseWriter, r *http.Request)
storefront/checkout/handle_set_order_address.go:45
Method
Signin
Signin calls SigninFunc.
mocks/auth_service.go:305
Method
Signin
(ctx context.Context, email, password string)
storefront/auth/service.go:168
Method
Signin
(w http.ResponseWriter, r *http.Request)
storefront/auth/handle_signin.go:36
Method
SigninCalls
SigninCalls gets all the calls that were made to Signin. Check the length with: len(mockedAuthService.SigninCalls())
mocks/auth_service.go:328
Method
SigninView
(w http.ResponseWriter, r *http.Request)
storefront/auth/handle_signin_view.go:8
Method
SigninWithGoogle
(ctx context.Context, email, name string)
storefront/auth/service.go:260
Method
Signup
Signup calls SignupFunc.
mocks/auth_service.go:345
Method
Signup
(ctx context.Context, name, email, password string)
storefront/auth/service.go:85
Method
Signup
(w http.ResponseWriter, r *http.Request)
storefront/auth/handle_signup.go:64
Method
SignupCalls
SignupCalls gets all the calls that were made to Signup. Check the length with: len(mockedAuthService.SignupCalls())
mocks/auth_service.go:370
Method
SignupConfirm
SignupConfirm calls SignupConfirmFunc.
mocks/auth_service.go:389
Method
SignupConfirm
(ctx context.Context, otp, email string)
storefront/auth/service.go:152
Method
SignupConfirmCalls
SignupConfirmCalls gets all the calls that were made to SignupConfirm. Check the length with: len(mockedAuthService.SignupConfirmCalls())
mocks/auth_service.go:412
Method
SignupConfirmation
(w http.ResponseWriter, r *http.Request)
storefront/auth/handle_signup_confirmation.go:40
Method
SignupView
(w http.ResponseWriter, r *http.Request)
storefront/auth/handle_signup_view.go:8
Function
Slide
(Splide2, Components2, options)
web/static/js/splide.js:2923
Function
Slides
(Splide2, Components2, options)
web/static/js/splide.js:1022
Function
SplitMap
(m map[string]string)
html/funcs/specific.go:27
Function
StepperClass
(i, curr int)
html/funcs/specific.go:182
Function
Sub
(a, b interface{})
html/funcs/generic.go:21
Function
Sub1
(i interface{})
html/funcs/generic.go:58
Function
Subd
(a, b decimal.Decimal)
html/funcs/generic.go:25
Method
SuccessView
(w http.ResponseWriter, r *http.Request)
storefront/checkout/handle_success_view.go:10
Function
Sync
(Splide2, Components2, options)
web/static/js/splide.js:2669
Method
T
()
web/static/js/hyperscript.org@0.9.12.js:1
Function
Tabs
(tabsEl, items, options, instanceOptions)
web/static/js/app.bundle.js:4311
Function
Thrower
( ex )
web/static/js/jquery.js:3378
Function
Time
Time returns a pointer to the time.Time value passed in.
pointer.go:90
Function
TimeValue
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
Method
TokenExists
(ctx context.Context, token string)
redis/cache/auth/reset_password_token.go:31
Function
Tooltip
(targetEl, triggerEl, options, instanceOptions)
web/static/js/app.bundle.js:4469
Method
TrendingProductsView
TrendingProductsView handles requests for trending product suggestions on search dropdown list
storefront/product/handle_trending_products_view.go:12
Function
Tween
( elem, options, prop, end, easing )
web/static/js/jquery.js:7035
Method
Update
(ctx context.Context, id int64, params anor.CartUpdateParams)
postgres/cart_service.go:205
Method
UpdateCart
UpdateCart calls UpdateCartFunc.
mocks/cart_service.go:489
Method
UpdateCartCalls
UpdateCartCalls gets all the calls that were made to UpdateCart. Check the length with: len(mockedCartService.UpdateCartCalls())
mocks/cart_service.go:510
Method
UpdateCartItem
UpdateCartItem calls UpdateCartItemFunc.
mocks/cart_service.go:525
Method
UpdateCartItem
(w http.ResponseWriter, r *http.Request)
storefront/cart/handle_update_cart_item.go:44
← previous
next →
2,301–2,400 of 2,954, ranked by callers