// SetRoutes will create the necessary routes
SetRoutes will create the necessary routes
// SetRoutes will create the necessary routes
func (r Router) SetRoutes() {
	r.router.Use(gin.Logger())
	r.router.GET("/health", func(c *gin.Context) { c.Status(http.StatusOK) })
	api := r.router.Group("/api/v1")
	{
		api.POST("/similar", r.Similar)
	}
}
func ( r Router ) SetRoutes ( ) { r . router . Use ( gin . Logger ( ) ) r . router . GET ( " " , func ( c * gin . Context ) { c . Status ( http . StatusOK ) } ) api := r . router . Group ( " " ) { api . POST ( " " , r . Similar ) } }
SetRoutes will create the necessary routes
SetRoutes will create the necessary routes
// Simple health check returning 200 OK // API Group