refactor(db): removed unused context
Signed-off-by: SoXX <soxx@fenpa.ws>
This commit is contained in:
parent
f0bd89759c
commit
ccb7cff4fc
@ -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