package controller import "demo/internal/dao" var srv *dao.Dao func RegisterDb() { srv = dao.New() }