fix failing build

This commit is contained in:
Jeremy Jay 2014-07-18 14:29:23 -04:00
parent 5731ca7b42
commit fb3e181a62

View file

@ -21,15 +21,16 @@ import (
"github.com/google/cayley/config"
"github.com/google/cayley/graph"
"github.com/google/cayley/graph/memstore"
"github.com/google/cayley/http"
"github.com/google/cayley/nquads"
_ "github.com/google/cayley/graph/memstore"
)
func init() {
glog.SetToStderr(true)
cfg := config.ParseConfigFromFile("cayley_appengine.cfg")
ts := memstore.NewTripleStore()
ts, _ := graph.NewTripleStore("memstore", "", nil)
glog.Errorln(cfg)
LoadTriplesFromFileInto(ts, cfg.DatabasePath, cfg.LoadSize)
http.SetupRoutes(ts, cfg)