Revision f1bdddeff88b8120a69b90043a2570e937248fd0 authored by Denys Smirnov on 26 January 2018, 11:15:47 UTC, committed by Denys Smirnov on 30 January 2018, 15:56:44 UTC
1 parent 48ce3fd
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