package main | |
import ( | |
"database/sql" | |
_ "github.com/go-sql-driver/mysql" | |
) | |
func getDB() (*sql.DB, error) { | |
return sql.Open("mysql", ConnectionString) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment