https://github.com/google/cayley
Revision 6c59d2231b374768d107c048f78070b342f73a21 authored by Denys Smirnov on 15 January 2018, 20:30:22 UTC, committed by Denys Smirnov on 30 January 2018, 15:56:44 UTC
1 parent 0c2d12e
Raw File
Tip revision: 6c59d2231b374768d107c048f78070b342f73a21 authored by Denys Smirnov on 15 January 2018, 20:30:22 UTC
graphtest: workaround conversion bug for gopherjs
Tip revision: 6c59d22
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