From fca120da1649ff764268c57cae772d5129f37d1c Mon Sep 17 00:00:00 2001 From: adlerhurst <27845747+adlerhurst@users.noreply.github.com> Date: Mon, 17 Mar 2025 15:33:07 +0100 Subject: [PATCH] remove unused methods --- backend/repository/orchestrate/handler/handle.go | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/backend/repository/orchestrate/handler/handle.go b/backend/repository/orchestrate/handler/handle.go index e8bcfac426..c3dd46c17e 100644 --- a/backend/repository/orchestrate/handler/handle.go +++ b/backend/repository/orchestrate/handler/handle.go @@ -7,22 +7,6 @@ import ( // Handler is a function that handles the in. type Handler[Out, In any] func(ctx context.Context, in Out) (out In, err error) -func (h Handler[Out, In]) Chain(next Handler[In, In]) Handler[Out, In] { - return Chain(h, next) -} - -func (h Handler[Out, In]) Decorate(decorate Decorator[Out, In]) Handler[Out, In] { - return Decorate(h, decorate) -} - -func (h Handler[Out, In]) SkipNext(next Handler[Out, In]) Handler[Out, In] { - return SkipNext(h, next) -} - -func (h Handler[Out, In]) SkipNilHandler(handler *Out) Handler[Out, In] { - return SkipNilHandler(handler, h) -} - // Decorator is a function that decorates the handle function. type Decorator[In, Out any] func(ctx context.Context, in In, handle Handler[In, Out]) (out Out, err error)