// Code generated by goctl. DO NOT EDIT.
// goctl <no value>

package utm

import (
	"net/http"

	"apps/backend/internal/logic/utm"
	"apps/backend/internal/response"
	"apps/backend/internal/svc"
)

func ListUtmLinksHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {
	return func(w http.ResponseWriter, r *http.Request) {
		l := utm.NewListUtmLinksLogic(r.Context(), svcCtx)
		data, err := l.ListUtmLinks()
		response.Write(r.Context(), w, data, err)
	}
}
