18 lines
406 B
Go
18 lines
406 B
Go
package services
|
|
|
|
import "context"
|
|
|
|
// RoyaltyService is a stub for the missing royalty service
|
|
type RoyaltyService struct{}
|
|
|
|
func NewRoyaltyService() *RoyaltyService {
|
|
return &RoyaltyService{}
|
|
}
|
|
|
|
func (s *RoyaltyService) CalculateRoyalties(ctx context.Context) error {
|
|
return nil
|
|
}
|
|
|
|
func (s *RoyaltyService) GetUserRoyalties(ctx context.Context, userID string) (interface{}, error) {
|
|
return nil, nil
|
|
}
|