MySQL

db, err := sql.Open("mysql", "user:[email protected](168.168.168.168:3306)/TEST?charset=utf8")

参考

Oracle

db, err := sql.Open("goracle", "scott/[email protected]:1521/orclpdb1")