BREAKING CHANGE: V2 of thr SDK #12
@ -29,7 +29,7 @@ func NewPostgresqlConnection() OtterSpace {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p postgresqlConnection) Connect(ctx context.Context, endpoint string, username string, password string, database string, port int, ssl string, timezone string) error {
|
func (p postgresqlConnection) Connect(_ context.Context, endpoint string, username string, password string, database string, port int, ssl string, timezone string) error {
|
||||||
dsn := fmt.Sprintf("host=%s user=%s password=%s dbname=%s port=%d sslmode=%s TimeZone=%s", endpoint, username, password, database, port, ssl, timezone)
|
dsn := fmt.Sprintf("host=%s user=%s password=%s dbname=%s port=%d sslmode=%s TimeZone=%s", endpoint, username, password, database, port, ssl, timezone)
|
||||||
var err error
|
var err error
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user