From 179cf911caacb0d0835cca17e14588d384cded94 Mon Sep 17 00:00:00 2001 From: Zack Scholl Date: Sun, 7 Feb 2016 18:43:34 -0500 Subject: [PATCH] Cleaned up a little --- main.go | 7 +++---- websockets.go | 4 ---- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/main.go b/main.go index 601a256..50ebf1b 100644 --- a/main.go +++ b/main.go @@ -57,11 +57,10 @@ Options:`) // Default page p := CowyoData{"about", about_page, []string{}, []string{}} p.save(about_page) - fmt.Println(about_page) - var q CowyoData - q.load("SpikySeaSlug") - rebuildTexts(q) + //var q CowyoData + //q.load("SpikySeaSlug") + //rebuildTexts(q) r := gin.Default() r.LoadHTMLGlob("templates/*") diff --git a/websockets.go b/websockets.go index 866c369..b870450 100644 --- a/websockets.go +++ b/websockets.go @@ -41,15 +41,11 @@ func wshandler(w http.ResponseWriter, r *http.Request) { var p CowyoData err = p.load(m.Title) - fmt.Println("LOADED") - fmt.Println(p) if err != nil { panic(err) } if m.UpdateServer { err := p.save(m.TextData) - fmt.Println("SAVED") - fmt.Println(p) if err != nil { panic(err) }