fix failing build
This commit is contained in:
parent
5731ca7b42
commit
fb3e181a62
1 changed files with 3 additions and 2 deletions
|
|
@ -21,15 +21,16 @@ import (
|
||||||
|
|
||||||
"github.com/google/cayley/config"
|
"github.com/google/cayley/config"
|
||||||
"github.com/google/cayley/graph"
|
"github.com/google/cayley/graph"
|
||||||
"github.com/google/cayley/graph/memstore"
|
|
||||||
"github.com/google/cayley/http"
|
"github.com/google/cayley/http"
|
||||||
"github.com/google/cayley/nquads"
|
"github.com/google/cayley/nquads"
|
||||||
|
|
||||||
|
_ "github.com/google/cayley/graph/memstore"
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
glog.SetToStderr(true)
|
glog.SetToStderr(true)
|
||||||
cfg := config.ParseConfigFromFile("cayley_appengine.cfg")
|
cfg := config.ParseConfigFromFile("cayley_appengine.cfg")
|
||||||
ts := memstore.NewTripleStore()
|
ts, _ := graph.NewTripleStore("memstore", "", nil)
|
||||||
glog.Errorln(cfg)
|
glog.Errorln(cfg)
|
||||||
LoadTriplesFromFileInto(ts, cfg.DatabasePath, cfg.LoadSize)
|
LoadTriplesFromFileInto(ts, cfg.DatabasePath, cfg.LoadSize)
|
||||||
http.SetupRoutes(ts, cfg)
|
http.SetupRoutes(ts, cfg)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue