MCPcopy Create free account

hub / github.com/AkhilSharma90/go-ecommerce-project / functions

Functions30 in github.com/AkhilSharma90/go-ecommerce-project

↓ 3 callersFunctionUserData
(client *mongo.Client, CollectionName string)
database/databasetup.go:37
↓ 2 callersFunctionProductData
(client *mongo.Client, CollectionName string)
database/databasetup.go:43
↓ 1 callersFunctionAddAddress
()
controllers/address.go:17
↓ 1 callersFunctionAddProductToCart
(ctx context.Context, prodCollection, userCollection *mongo.Collection, productID primitive.ObjectID, userID s
database/cart.go:26
↓ 1 callersMethodAddToCart
()
controllers/cart.go:31
↓ 1 callersFunctionAuthentication
()
middleware/middleware.go:11
↓ 1 callersMethodBuyFromCart
()
controllers/cart.go:138
↓ 1 callersFunctionBuyItemFromCart
(ctx context.Context, userCollection *mongo.Collection, userID string)
database/cart.go:70
↓ 1 callersFunctionDBSet
()
database/databasetup.go:14
↓ 1 callersFunctionDeleteAddress
()
controllers/address.go:136
↓ 1 callersFunctionEditHomeAddress
()
controllers/address.go:72
↓ 1 callersFunctionEditWorkAddress
()
controllers/address.go:104
↓ 1 callersFunctionGetItemFromCart
()
controllers/cart.go:95
↓ 1 callersFunctionHashPassword
(password string)
controllers/controllers.go:26
↓ 1 callersMethodInstantBuy
()
controllers/cart.go:155
↓ 1 callersFunctionInstantBuyer
(ctx context.Context, prodCollection, userCollection *mongo.Collection, productID primitive.ObjectID, UserID s
database/cart.go:126
↓ 1 callersFunctionLogin
()
controllers/controllers.go:103
↓ 1 callersFunctionNewApplication
(prodCollection, userCollection *mongo.Collection)
controllers/cart.go:24
↓ 1 callersFunctionProductViewerAdmin
()
controllers/controllers.go:134
↓ 1 callersFunctionRemoveCartItem
(ctx context.Context, prodCollection, userCollection *mongo.Collection, productID primitive.ObjectID, userID s
database/cart.go:54
↓ 1 callersMethodRemoveItem
()
controllers/cart.go:62
↓ 1 callersFunctionSearchProduct
()
controllers/controllers.go:154
↓ 1 callersFunctionSearchProductByQuery
()
controllers/controllers.go:184
↓ 1 callersFunctionSignUp
()
controllers/controllers.go:45
↓ 1 callersFunctionUserRoutes
(incomingRoutes *gin.Engine)
routes/routes.go:9
↓ 1 callersFunctionVerifyPassword
(userpassword string, givenpassword string)
controllers/controllers.go:34
FunctionTokenGenerator
(email string, firstname string, lastname string, uid string)
tokens/tokengen.go:29
FunctionUpdateAllTokens
(signedtoken string, signedrefreshtoken string, userid string)
tokens/tokengen.go:77
FunctionValidateToken
(signedtoken string)
tokens/tokengen.go:56
Functionmain
()
main.go:15