I recently decided to make a small framework for my hobby-project needs.
Inspired a little bit on revel.
I would like to get some advice or criticism about the code. I am a newbie
at Go but I want to keep improving
This is the main repository of the framework
https://github.com/yaimko/yaimko a
Lets say an example function like this
func (r *Router) Get(path string, controller interface{}) {}
And I am calling it this way
Route.Get("/", controllers.Test.IsWorking)
Refering to this function
type Test struct {
Name string
}
func (t Test) IsWorking() {
log.Println("hello")
}
How c