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: export_component.go
    path of file: ./repos/dotenx/ao-api/services/marketplaceService
    
    the code of the file until where you have to start completion: package marketplaceService

import (
	"github.com/dotenx/dotenx/ao-api/models"
	"github.com/dotenx/dotenx/ao-api/services/uiComponentService"
	"github.com/sirupsen/logrus"
)

func (ms *marketplaceService) ExportComponent(accountId, projectName, componentName string, componentService uiComponentService.UIcomponentService) (componentDto models.ExportableUIComponent, err error) {
	pages, err := componentService.GetExportableComponentByPr
    
func (ms *marketplaceService) ExportComponent(accountId, projectName, componentName string, componentService uiComponentService.UIcomponentService) (componentDto models.ExportableUIComponent, err error) {
	pages, err := componentService.GetExportableComponentByProjectName(accountId, projectName, componentName)
	if err != nil {
		logrus.Errorf("Error getting UI pages: %v", err)
		return
	}
	componentDto = models.ExportableUIComponent{
		Name:    componentName,
		Content: pages.Content,
	}
	return
}