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

import (
	"errors"

	"github.com/dotenx/dotenx/ao-api/models"
)

func (manager *IntegrationManager) GetIntegrationFields(name string) (models.IntegrationDefinition, error) {
	for _, 
    
func (manager *IntegrationManager) GetIntegrationFields(name string) (models.IntegrationDefinition, error) {
	for _, integ := range models.AvaliableIntegrations {
		if integ.Type == name {
			return integ, nil
		}
	}
	return models.IntegrationDefinition{}, errors.New("no integration with this name")
}