Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (17 sloc) 380 Bytes
package main
import (
"github.com/daviddengcn/gcse"
"log"
// "time"
)
func main() {
log.Println("indexer started...")
if err := gcse.IndexSegments.ClearUndones(); err != nil {
log.Printf("ClearUndones failed: %v", err)
}
if err := clearOutdatedIndex(); err != nil {
log.Printf("clearOutdatedIndex failed: %v", err)
}
doIndex()
log.Println("indexer exits...")
}
You can’t perform that action at this time.