//
pkg.gl
Category
github.com/agilebits/dd-trace-go
contrib
database
sql
parsedsn
package
0.6.1
Repository:
https://github.com/agilebits/dd-trace-go.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
0
Files
40 SLOC
#
Packages
mysql
Package mysql is the minimal fork of go-sql-driver/mysql so we can use their code to parse the mysql DSNs.
pq
Package pq is the minimal fork of lib/pq so we can use their code to parse the postgres DSNs.
#
Functions
MySQL
MySQL parses a mysql-type dsn into a map.
Postgres
Postgres parses a postgres-type dsn into a map.