Categorygithub.com/AnoopKV/GoExercise23
repositorypackage
0.0.0-20230929134316-073567a67656
Repository: https://github.com/anoopkv/goexercise23.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

Exercise

##Below API Currently implemented

GET / --> main.home (3 handlers)

POST /api/user/register

--> github.com/AnoopKV/GoExercise23/controllers.(*UserController).HandleRegister-fm (3 handlers)

POST /api/user/login

--> github.com/AnoopKV/GoExercise23/controllers.(*UserController).HandleLogin-fm (3 handlers)

GET /api/user/logout

--> github.com/AnoopKV/GoExercise23/controllers.HandleLogout (5 handlers)

POST /api/product/add

--> github.com/AnoopKV/GoExercise23/controllers.(*ProductController).HandleAddProduct-fm (7 handlers)

GET /api/product/:id

--> github.com/AnoopKV/GoExercise23/controllers.(*ProductController).HandleGetProductById-fm (7 handlers)

GET /api/product/search

--> github.com/AnoopKV/GoExercise23/controllers.(*ProductController).HandleSearch-fm (7 handlers)