https://github.com/yarf-framework/yarf
```
package main
import (
"github.com/yarf-framework/yarf"
)
// Define a simple resource
type Hello struct {
yarf.Resource
}
// Implement the GET method
func (h *Hello) Get(c *yarf.Context) error {
c.Render("Hello world!")
return nil
}
// Run app server on http://localhost:8080
func main() {
y := yarf.New()
y.Add("/", new(Hello))
y.Start(":8080")
}
```
通常添加路由是 Add(path,func)
add("/",new(Struct)) 这个怎么理解