1// +build !go1.9 2 3package cayley 4 5import ( 6 "github.com/cayleygraph/cayley/graph" 7 "github.com/cayleygraph/cayley/graph/path" 8) 9 10type Iterator graph.Iterator 11type QuadStore graph.QuadStore 12type QuadWriter graph.QuadWriter 13 14type Path path.Path 15 16type Handle struct { 17 graph.QuadStore 18 graph.QuadWriter 19} 20 21func (h *Handle) Close() error { 22 err := h.QuadWriter.Close() 23 h.QuadStore.Close() 24 return err 25} 26