feat: add feature based structure

This commit is contained in:
Justin Lin
2025-08-26 19:18:35 +10:00
commit d963362711
15 changed files with 436 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
package user
import "github.com/gin-gonic/gin"
func Register(r gin.IRouter, ctl *Controller) {
g := r.Group("/authors")
g.GET("", ctl.ListAuthors)
}