mydb/connection_url.go
2023-09-18 15:15:42 +08:00

9 lines
206 B
Go

package mydb
// ConnectionURL represents a data source name (DSN).
type ConnectionURL interface {
// String returns the connection string that is going to be passed to the
// adapter.
String() string
}