https://github.com/google/cayley
Revision 927dd14f5964f51204db162193304a7f3497db54 authored by Denys Smirnov on 28 February 2018, 23:20:24 UTC, committed by Denys Smirnov on 28 February 2018, 23:32:15 UTC
1 parent dc274db
Raw File
Tip revision: 927dd14f5964f51204db162193304a7f3497db54 authored by Denys Smirnov on 28 February 2018, 23:20:24 UTC
add missing dep
Tip revision: 927dd14
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