func (d *Docker) Networks(opt types.NetworkListOptions) ([]types.NetworkResource, error) {
	return d.NetworkList(context.TODO(), opt)
}
Networks get networks
package docker
import (
	"context"
	"github.com/docker/docker/api/types"
)