This commit is contained in:
2026-09-15 09:15:53 -05:00
parent 97c930196a
commit ab9573b875
21 changed files with 1664 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
package handlers
import (
"github.com/gin-gonic/gin"
"jp.wtf/go-fishing/internal/db"
v1 "jp.wtf/go-fishing/internal/handlers/v1"
)
type Env struct {
DB *db.Database
}
func (env *Env) RegisterRoutes(rg *gin.RouterGroup) {
v1Router := v1.V1Router{DB: env.DB}
v1Router.RegisterRoutes(rg)
}