I want to use call this func
func (x *Controller) GetTest(context *gin.Context) boolean {
...
return true;
}
as an argument here
converterTest.GET("/test", middleware.Auth(), x._controller.GetTest)
It gives me this error
cannot use x._controller.GetTest (value of type func(context *gin.Context) bool) as type gin.HandlerFunc in argument to converterTest.GET