SoXX
0e6a8fd61e
added more columns BREAKING-CHANGE: breaks database compatibility to older SDK versions
25 lines
582 B
Go
25 lines
582 B
Go
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
|
|
}
|