// // Copyright (C) 2024 veypi // 2024-09-23 16:28:13 // Distributed under terms of the MIT license. // // Auto generated by OneBD. DO NOT EDIT package user import ( "github.com/veypi/OneAuth/cfg" "github.com/veypi/OneAuth/models" "github.com/vyes/vigo" "github.com/vyes/vigo/contrib/crud" ) var Router = vigo.NewRouter() func init() { crud.All(Router.SubRouter("/:user_id/user_role"), cfg.DB, models.UserRole{}) }