Initial implementation of an elasticsearch indexer in Go
All threads resolved!
All threads resolved!
Compare changes
Files
7- Nick Thomas authored
+ 37
− 15
@@ -14,7 +14,7 @@ var (
@@ -24,8 +24,8 @@ type Repo struct {
@@ -67,7 +67,7 @@ func NewRepo(projectPath string, fromSHA string, toSHA string) (*Repo, error) {
@@ -87,14 +87,32 @@ func (r *Repo) Diff() (object.Changes, error) {
@@ -114,14 +132,11 @@ func (r *Repo) EachFileChange(ins, mod, del FileFunc) error {
@@ -136,9 +151,16 @@ func (r *Repo) EachFileChange(ins, mod, del FileFunc) error {