11 lines
207 B
Go
11 lines
207 B
Go
package logic
|
|
|
|
import "context"
|
|
|
|
func (s *Service) PurgeUser(ctx context.Context, userID int64) error {
|
|
if s == nil || s.repo == nil || userID <= 0 {
|
|
return nil
|
|
}
|
|
return s.repo.PurgeUser(ctx, userID)
|
|
}
|