Documentation ¶
Index ¶
- func CreateCategoryHandler(w http.ResponseWriter, r *http.Request, col *mongo.Collection)
- func DeleteCategoryHandler(w http.ResponseWriter, r *http.Request, col *mongo.Collection)
- func GetCategoriesHandler(w http.ResponseWriter, r *http.Request, col *mongo.Collection)
- func GetIDFromURL(r *http.Request) (primitive.ObjectID, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCategoryHandler ¶
func CreateCategoryHandler(w http.ResponseWriter, r *http.Request, col *mongo.Collection)
func DeleteCategoryHandler ¶
func DeleteCategoryHandler(w http.ResponseWriter, r *http.Request, col *mongo.Collection)
func GetCategoriesHandler ¶
func GetCategoriesHandler(w http.ResponseWriter, r *http.Request, col *mongo.Collection)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.