plug-sdk/pkg/otter/connect.go

13 lines
293 B
Go
Raw Normal View History

2024-08-26 14:50:25 +00:00
package otter
import (
"context"
"git.anthrove.art/Anthrove/otter-space-sdk/v3/pkg/database"
"git.anthrove.art/Anthrove/otter-space-sdk/v3/pkg/models"
)
func ConnectToDatabase(ctx context.Context, config models.DatabaseConfig) error {
return database.Connect(ctx, config)
}