You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: organisation_member.go
    path of file: ./repos/convoy/api/handlers
    
    the code of the file until where you have to start completion: package handlers

import (
	"net/http"

	"github.com/frain-dev/convoy/pkg/log"

	"github.com/frain-dev/convoy/api/models"
	"github.com/frain-dev/convoy/database/postgres"
	"github.com/frain-dev/convoy/services"
	"github.com/frain-dev/convoy/util"
	"github.com/go-chi/chi/v5"
	"github.com/go-chi/render"

	m "github.com/frain-dev/convoy/internal/pkg/middleware"
)

func createOrganisationMemberService(h *Handler) *services.OrganisationMemberService {
	orgMemberRepo := postgres.NewOrgMemberRepo(h.A.DB, h.A.Cache)

	return services.NewOrganisationMemberService(orgMemberRepo)
}

func (h *Handler) GetOrganisationMembers(w http
    
func (h *Handler) GetOrganisationMembers(w http.ResponseWriter, r *http.Request) {
	pageable := m.GetPageableFromContext(r.Context())
	org, err := h.retrieveOrganisation(r)
	if err != nil {
		_ = render.Render(w, r, util.NewServiceErrResponse(err))
		return
	}

	userID := r.URL.Query().Get("userID")

	members, paginationData, err := postgres.NewOrgMemberRepo(h.A.DB, h.A.Cache).LoadOrganisationMembersPaged(r.Context(), org.UID, userID, pageable)
	if err != nil {
		log.FromContext(r.Context()).WithError(err).Error("failed to fetch organisation members")
		_ = render.Render(w, r, util.NewServiceErrResponse(err))
		return
	}

	_ = render.Render(w, r, util.NewServerResponse("Organisation members fetched successfully",
		models.PagedResponse{Content: &members, Pagination: &paginationData}, http.StatusOK))
}