plug-sdk/pkg/otter/connect.go
SoXX 76174e3247
All checks were successful
Gitea Build Check / Build (push) Successful in 51s
Gitea Build Check / Build (pull_request) Successful in 51s
feat(dependencies): update to latest version
updated OtterSpaceSDK to v4.0.0
2024-08-29 15:26:58 +02:00

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)
}