From 355e64e6808b25a25be86c8098b082cffe144401 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Sun, 31 Aug 2014 17:23:14 +0800 Subject: [PATCH] . --- file/files.go | 2 -- main.go | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/file/files.go b/file/files.go index 947b324..2ab459a 100644 --- a/file/files.go +++ b/file/files.go @@ -18,8 +18,6 @@ func GetFiles(w http.ResponseWriter, r *http.Request) { username := session.Values["name"].(string) - glog.Info(username) - userRepos := strings.Replace(conf.Wide.UserRepos, "{user}", username, -1) data := map[string]interface{}{"succ": true} diff --git a/main.go b/main.go index 135badf..7293e4e 100644 --- a/main.go +++ b/main.go @@ -65,6 +65,8 @@ func main() { http.HandleFunc("/autocomplete", editor.AutocompleteHandler) + glog.Infof("Wide is running [%s]", conf.Wide.Server) + err := http.ListenAndServe(conf.Wide.Server, nil) if err != nil { glog.Fatal(err)