code: func mapFolders(folders []config.FolderConfiguration) map[string]config.FolderConfiguration {
  	m := make(map[string]config.FolderConfiguration, len(folders))
  	for _, cfg := range folders {
  		m[cfg.ID] = cfg
  	}
  	return m
  }
docs: // mapFolders returns a map of folder ID to folder configuration for the given
  // slice of folder configurations.