I am quite new to go and try to learn, I am setting up an application with a gin-gonic server. I managed to have it to work with everything in on main package, I would like to o
I did manage to make it work by "sending" the router in the LoadTodo function :
in apirest.go :
LoadTodo(Router)
and in todoCRUD.go :
func LoadTodo(r *gin.Engine){
and it's working fine ... I hope I didn't bring a bug failure in the code ...
Stéphane