func (c *Client) ListGitInstallationIDs(
	ctx context.Context,
	projID uint,
) (*types.ListGitInstallationIDsResponse, error) {
	resp := &types.ListGitInstallationIDsResponse{}
	err := c.getRequest(
		fmt.Sprintf(
			"/projects/%d/gitrepos",
			projID,
		),
		nil,
		resp,
	)
	return resp, err
}
ListGitInstallationIDs returns a list of Git installation IDs for a user
package client
import (
	"context"
	"fmt"
	"github.com/porter-dev/porter/api/types"
)