import { formatDSN } from "@aereal/go-dsn"
formatDSN({
dbName: "test-db",
passwd: "mypasswd",
user: "root",
})
// => "root:mypasswd@/test-db"
-
Notifications
You must be signed in to change notification settings - Fork 0
aereal/go-dsn
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
format go-sql-driver's config as DSN (Data Source Name)
Topics
Resources
Stars
Watchers
Forks
Packages 0
No packages published