func networkFolderFromObject(client *govmomi.Client, obj interface{}, relative string) (*object.Folder, error) {
	folder, err := folderFromObject(client, obj, RootPathParticleNetwork, relative)
	if err != nil {
		return nil, err
	}

	return validateNetworkFolder(folder)
}
func networkFolderFromObject(client *govmomi.Client, obj interface{}, relative string) (*object.Folder, error) {
	folder, err := folderFromObject(client, obj, RootPathParticleNetwork, relative)
	if err != nil {
		return nil, err
	}

	return validateNetworkFolder(folder)
}
func networkFolderFromObject ( client * govmomi . Client , obj interface { } , relative string ) ( * object . Folder , error ) { folder , err := folderFromObject ( client , obj , RootPathParticleNetwork , relative ) if err != nil { return nil , err } return validateNetworkFolder ( folder ) }
// networkFolderFromObject returns an *object.Folder from a given object,
// and relative network folder path. If no such folder is found, of if it is
// not a network folder, an appropriate error will be returned.
networkFolderFromObject returns an * object . Folder from a given object and relative network folder path . If no such folder is found of if it is not a network folder an appropriate error will be returned .