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: bootstrap.go
    path of file: ./repos/aether-app/aether-core/aether/backend/dispatch
    
    the code of the file until where you have to start completion: // Backend > Routines > Bootstrap
// This file defines the bootstrap routine which runs at warmup conditions. This routine connects to multiple remotes and downloads from them to reduce the network load on any single one.

package dispatch

import (
	"aether-core/aether/backend/feapiconsumer"
	"aether-core/aether/io/api"
	"aether-core/aether/services/configstore"
	"aether-core/aether/services/globals"
	"aether-core/aether/services/logging"
	// "gith
    
func constructExecPlans(bootstrappers []api.Address) []execPlan {
	if len(bootstrappers) == 0 {
		return []execPlan{}
	}
	execplans := []execPlan{}
	for key, _ := range bootstrappers {
		execplans = append(execplans, execPlan{addr: bootstrappers[key]})
	}
	servingSubprots := globals.BackendConfig.GetServingSubprotocols()
	entities := []string{}
	for _, subprot := range servingSubprots {
		entities = append(entities, subprot.SupportedEntities...)
	}
	for key, _ := range entities {
		mod := key % len(execplans) // 0 % 7 = 0, 3 % 7 = 3, 7 % 7 = 0 (loops over)
		execplans[mod].endpoints = append(execplans[mod].endpoints, entities[key])
	}
	// spew.Dump(execplans)
	logging.Logf(2, "constructExecPlans result: %#v", execplans)
	return execplans
}