diff --git a/handlers/home.go b/handlers/home.go index e93246a4..5d2fcae7 100644 --- a/handlers/home.go +++ b/handlers/home.go @@ -18,7 +18,7 @@ var cache struct { // HomeHandler handles the homepage func (gh *GRCHandler) HomeHandler(w http.ResponseWriter, r *http.Request, db *badger.DB) { if r.URL.Path[1:] == "" { - var recentRepos = []string{} + var recentRepos []string cache.mux.Lock() cache.count++