fix naming in test and fix test
This commit is contained in:
parent
390d012fc4
commit
8ee61735b7
3 changed files with 20 additions and 11 deletions
|
|
@ -25,9 +25,10 @@ import (
|
|||
"net/http"
|
||||
"sync"
|
||||
|
||||
"github.com/barakmich/glog"
|
||||
|
||||
"appengine"
|
||||
"appengine/datastore"
|
||||
"github.com/barakmich/glog"
|
||||
|
||||
"github.com/google/cayley/graph"
|
||||
"github.com/google/cayley/graph/iterator"
|
||||
|
|
@ -86,7 +87,13 @@ type LogEntry struct {
|
|||
}
|
||||
|
||||
func init() {
|
||||
graph.RegisterQuadStore("gaedatastore", true, newQuadStore, initQuadStore, newQuadStoreForRequest)
|
||||
graph.RegisterQuadStore("gaedatastore", graph.QuadStoreRegistration{
|
||||
NewFunc: newQuadStore,
|
||||
NewForRequestFunc: newQuadStoreForRequest,
|
||||
UpgradeFunc: nil,
|
||||
InitFunc: initQuadStore,
|
||||
IsPersistent: true,
|
||||
})
|
||||
}
|
||||
|
||||
func initQuadStore(_ string, _ graph.Options) error {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue