Revision 1467e175cab1ff7a158095f0dab274fa5750b6eb authored by Denys Smirnov on 23 February 2018, 10:54:23 UTC, committed by Denys Smirnov on 23 February 2018, 11:05:31 UTC
1 parent 1c3bf91
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