13 lines
224 B
Go
13 lines
224 B
Go
package middleware
|
|
|
|
import (
|
|
"context"
|
|
"go-backend-template/internal/contract"
|
|
|
|
"github.com/google/uuid"
|
|
)
|
|
|
|
type UserProcessor interface {
|
|
GetUserByID(ctx context.Context, id uuid.UUID) (*contract.UserResponse, error)
|
|
}
|