|
package main
|
|
|
|
import (
|
|
"local/dndex/config"
|
|
"local/dndex/storage"
|
|
"local/dndex/view"
|
|
"log"
|
|
)
|
|
|
|
var GitCommit string
|
|
|
|
func main() {
|
|
c := config.New()
|
|
log.Println(c)
|
|
g := storage.NewRateLimitedGraph()
|
|
view.GitCommit = GitCommit
|
|
if err := view.JSON(g); err != nil {
|
|
panic(err)
|
|
}
|
|
}
|