otter-space-sdk/pkg/database/source.go

25 lines
582 B
Go
Raw Normal View History

package database
import (
"context"
"git.anthrove.art/Anthrove/otter-space-sdk/v2/pkg/models"
)
func CreateUserSource(ctx context.Context, userSource models.UserSource) (models.UserSource, error) {
var user models.UserSource
return user, nil
}
func UpdateUserSource(ctx context.Context, userSource models.UserSource) error {
return nil
}
func GetUserSourceByID(ctx context.Context, id models.UserSourceID) (models.UserSource, error) {
var user models.UserSource
return user, nil
}
func DeleteUserSource(ctx context.Context, id models.UserSourceID) error {
return nil
}