Cleanup
This commit is contained in:
@@ -27,10 +27,11 @@ type ConnectionInfo struct {
|
||||
SslMode string
|
||||
}
|
||||
|
||||
const Port = "9080"
|
||||
|
||||
const Port = "9080"
|
||||
const App_Name = "textsender_auth"
|
||||
|
||||
|
||||
func (ci ConnectionInfo) Parse() string {
|
||||
return fmt.Sprintf("postgres://%s:%s@%s:%d/%s?sslmode=%s", ci.Username, ci.Password, ci.Host, ci.Port, ci.Database, ci.SslMode)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user