package global import ( "fmt" "nCovTrack-Backend/config" "github.com/gin-gonic/gin" "go.uber.org/zap" "gorm.io/gorm" ) var ( ServerSettings config.ServerConfig Db *gorm.DB RootRouter *gin.RouterGroup Logger *zap.SugaredLogger ) func GetListenOn() string { return fmt.Sprintf("%s:%d", ServerSettings.Listen, ServerSettings.Port) }