fix import path and comment for latest endpoint

pull/179/head
Vit Listik 3 years ago
parent 0f349315fe
commit 02de051244
No known key found for this signature in database
GPG Key ID: DDDF5138DA46D76B
  1. 7
      internal/syncconnector/reader.go

@ -3,7 +3,7 @@ package syncconnector
import (
"bytes"
"encoding/json"
"github.com/curusarn/resh/internal/record"
"github.com/curusarn/resh/record"
"io"
"io/ioutil"
"log"
@ -51,3 +51,8 @@ func (sc SyncConnector) downloadRecords(lastRecords map[string]string) ([]record
return records, nil
}
func latest() {
//curl localhost:8080/latest -X POST -d '[]'
//curl localhost:8080/latest -X POST -d '["one"]'
}

Loading…
Cancel
Save