Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AkhilSharma90/go-ecommerce-project
/ functions
Functions
30 in github.com/AkhilSharma90/go-ecommerce-project
⨍
Functions
30
◇
Types & classes
8
↓ 3 callers
Function
UserData
(client *mongo.Client, CollectionName string)
database/databasetup.go:37
↓ 2 callers
Function
ProductData
(client *mongo.Client, CollectionName string)
database/databasetup.go:43
↓ 1 callers
Function
AddAddress
()
controllers/address.go:17
↓ 1 callers
Function
AddProductToCart
(ctx context.Context, prodCollection, userCollection *mongo.Collection, productID primitive.ObjectID, userID s
database/cart.go:26
↓ 1 callers
Method
AddToCart
()
controllers/cart.go:31
↓ 1 callers
Function
Authentication
()
middleware/middleware.go:11
↓ 1 callers
Method
BuyFromCart
()
controllers/cart.go:138
↓ 1 callers
Function
BuyItemFromCart
(ctx context.Context, userCollection *mongo.Collection, userID string)
database/cart.go:70
↓ 1 callers
Function
DBSet
()
database/databasetup.go:14
↓ 1 callers
Function
DeleteAddress
()
controllers/address.go:136
↓ 1 callers
Function
EditHomeAddress
()
controllers/address.go:72
↓ 1 callers
Function
EditWorkAddress
()
controllers/address.go:104
↓ 1 callers
Function
GetItemFromCart
()
controllers/cart.go:95
↓ 1 callers
Function
HashPassword
(password string)
controllers/controllers.go:26
↓ 1 callers
Method
InstantBuy
()
controllers/cart.go:155
↓ 1 callers
Function
InstantBuyer
(ctx context.Context, prodCollection, userCollection *mongo.Collection, productID primitive.ObjectID, UserID s
database/cart.go:126
↓ 1 callers
Function
Login
()
controllers/controllers.go:103
↓ 1 callers
Function
NewApplication
(prodCollection, userCollection *mongo.Collection)
controllers/cart.go:24
↓ 1 callers
Function
ProductViewerAdmin
()
controllers/controllers.go:134
↓ 1 callers
Function
RemoveCartItem
(ctx context.Context, prodCollection, userCollection *mongo.Collection, productID primitive.ObjectID, userID s
database/cart.go:54
↓ 1 callers
Method
RemoveItem
()
controllers/cart.go:62
↓ 1 callers
Function
SearchProduct
()
controllers/controllers.go:154
↓ 1 callers
Function
SearchProductByQuery
()
controllers/controllers.go:184
↓ 1 callers
Function
SignUp
()
controllers/controllers.go:45
↓ 1 callers
Function
UserRoutes
(incomingRoutes *gin.Engine)
routes/routes.go:9
↓ 1 callers
Function
VerifyPassword
(userpassword string, givenpassword string)
controllers/controllers.go:34
Function
TokenGenerator
(email string, firstname string, lastname string, uid string)
tokens/tokengen.go:29
Function
UpdateAllTokens
(signedtoken string, signedrefreshtoken string, userid string)
tokens/tokengen.go:77
Function
ValidateToken
(signedtoken string)
tokens/tokengen.go:56
Function
main
()
main.go:15