code: func GetConnStr(cfg abcconfig.DBConfig) (string, error) {
  	if len(cfg.DB) == 0 {
  		return "", errors.New("db field in config.toml must be provided")
  	}
  
  	if cfg.DB == "postgres" {
  		return drivers.PostgresBuildQueryString(cfg.User, cfg.Pass, cfg.DBName, cfg.Host, cfg.Port, cfg.SSLMode), nil
  	} else if cfg.DB == "mysql" {
  		return drivers.MySQLBuildQueryString(cfg.User, cfg.Pass, cfg.DBName, cfg.Host, cfg.Port, cfg.SSLMode), nil
  	}
  
  	return "", fmt.Errorf("cannot get connection string for unknown database %q", cfg.DB)
  }
docs: // GetConnStr returns a connection string for the database software used