13 lines
281 B
Go
13 lines
281 B
Go
package otter
|
|
|
|
import (
|
|
"context"
|
|
|
|
"git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/database"
|
|
"git.anthrove.art/Anthrove/otter-space-sdk/v4/pkg/models"
|
|
)
|
|
|
|
func ConnectToDatabase(ctx context.Context, config models.DatabaseConfig) error {
|
|
return database.Connect(ctx, config)
|
|
}
|