This library gives you the support to execute different database query engines, currently we have added support for (trino, presto, mysql, athena), all you have to do is following:-
import "github.com/nurture-farm/go-database-driver"
import "github.com/nurture-farm/go-database-driver/driverConfig"
trinoConfig := &driverConfig.TrinoConfig{
Dsn: viper.GetString("trino_url"),
}
drivers.InitializeDrivers(drivers.TRINO, trinoConfig)
_, data, err := drivers.ExecuteQuery(base.QueryActiveActor, drivers.TRINO)