Update storage to new object format
This commit is contained in:
@@ -10,7 +10,9 @@ import (
|
||||
)
|
||||
|
||||
func Html(g storage.Graph) error {
|
||||
err := http.ListenAndServe(fmt.Sprintf(":%d", config.New().Port), foo(g))
|
||||
port := config.New().Port
|
||||
log.Println("listening on", port)
|
||||
err := http.ListenAndServe(fmt.Sprintf(":%d", port), foo(g))
|
||||
return err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user