code: func getAttachedInterfacesByID(client *gophercloud.ServiceClient, serviceID string) ([]attachinterfaces.Interface, error) {
  	var interfaces []attachinterfaces.Interface
  
  	pager := attachinterfaces.List(client, serviceID)
  	err := pager.EachPage(func(page pagination.Page) (bool, error) {
  		s, err := attachinterfaces.ExtractInterfaces(page)
  		if err != nil {
  			return false, err
  		}
  		interfaces = append(interfaces, s...)
  		return true, nil
  	})
  	if err != nil {
  		return interfaces, err
  	}
  
  	return interfaces, nil
  }
docs: // getAttachedInterfacesByID returns the node interfaces of the specified instance.