in api.go [153:160]
func (h apiHandlers) getProductTypes(c *gin.Context) {
productTypes, err := getProductTypes(c.Request.Context(), h.db)
if err != nil {
c.AbortWithError(http.StatusInternalServerError, err)
return
}
c.JSON(http.StatusOK, productTypes)
}