Reorganize to go get will work

This makes almost no changes to source, but touches every almost file.

Also fixes error in gremlin test code.
This commit is contained in:
kortschak 2014-06-26 08:38:15 +09:30
parent e46a5bbe4a
commit e0df752618
130 changed files with 8766 additions and 10167 deletions

View file

@ -15,22 +15,24 @@
package cayleyappengine
import (
"cayley_config"
"cayley_http"
"github.com/barakmich/glog"
"graph"
"graph_memstore"
"nquads"
"os"
"github.com/barakmich/glog"
cfg "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"
)
func init() {
glog.SetToStderr(true)
config := cayley_config.ParseConfigFromFile("cayley_appengine.cfg")
ts := graph_memstore.NewMemTripleStore()
config := cfg.ParseConfigFromFile("cayley_appengine.cfg")
ts := memstore.NewMemTripleStore()
glog.Errorln(config)
LoadTriplesFromFileInto(ts, config.DatabasePath, config.LoadSize)
cayley_http.SetupRoutes(ts, config)
http.SetupRoutes(ts, config)
}
func ReadTriplesFromFile(c chan *graph.Triple, tripleFile string) {