// NewServer is the Server constructor
NewServer is the Server constructor
// NewServer is the Server constructor
func NewServer(cf *config.Config,
	rc *controllers.RoleController,
	uc *controllers.UserController,
	mid *middleware.Middleware,
	hand *handlers.HttpHandlers) *Server {
	return &Server{
		config:         cf,
		roleController: rc,
		userController: uc,
		middleware:     mid,
		handlers:       hand,
	}
}
func NewServer ( cf * config . Config , rc * controllers . RoleController , uc * controllers . UserController , mid * middleware . Middleware , hand * handlers . HttpHandlers ) * Server { return & Server { config : cf , roleController : rc , userController : uc , middleware : mid , handlers : hand , } }
NewServer is the Server constructor
NewServer is the Server constructor