Revision 330365b6114cd811cbcdbdbf1672fdb9352953d5 authored by Denys Smirnov on 20 October 2018, 14:04:16 UTC, committed by Denys Smirnov on 20 October 2018, 19:20:26 UTC
1 parent 14279cc
Raw File
imports_pre19.go
// +build !go1.9

package cayley

import (
	"github.com/cayleygraph/cayley/graph"
	"github.com/cayleygraph/cayley/graph/path"
)

type Iterator graph.Iterator
type QuadStore graph.QuadStore
type QuadWriter graph.QuadWriter

type Path path.Path

type Handle struct {
	graph.QuadStore
	graph.QuadWriter
}

func (h *Handle) Close() error {
	err := h.QuadWriter.Close()
	h.QuadStore.Close()
	return err
}
back to top