package routes import ( "gitrepo.ru/neonxp/gorum/repository" ) type Router struct { userRepo *repository.User nodeRepo *repository.Node } func NewRouter(userRepo *repository.User, nodeRepo *repository.Node) *Router { return &Router{ userRepo: userRepo, nodeRepo: nodeRepo, } }