Files
photoprism/pkg/dsn/parse.go
2025-11-03 13:40:34 +01:00

9 lines
173 B
Go

package dsn
// Parse creates a new DSN struct containing the parsed data from the specified string.
func Parse(dsn string) DSN {
d := DSN{DSN: dsn}
d.parse()
return d
}