From e6a126ea0b2df77362e1830869122e2dc972ed8d Mon Sep 17 00:00:00 2001 From: Bel LaPointe Date: Fri, 7 Aug 2020 13:08:42 -0600 Subject: [PATCH] Remove dbeug logs --- notes/file.go | 2 -- server/comment.go | 2 -- 2 files changed, 4 deletions(-) diff --git a/notes/file.go b/notes/file.go index adc52e0..a8fcde9 100755 --- a/notes/file.go +++ b/notes/file.go @@ -8,7 +8,6 @@ import ( "io" "io/ioutil" "local/notes-server/filetree" - "log" "path" "regexp" "strings" @@ -63,7 +62,6 @@ func (n *Notes) commentFormer(urlPath string, md []byte) html.RenderNodeFunc { } return func(w io.Writer, node ast.Node, entering bool) (ast.WalkStatus, bool) { if heading, ok := node.(*ast.Heading); ok && !entering { - log.Printf("%+v", heading) nextHeader() fmt.Fprintf(w, `
diff --git a/server/comment.go b/server/comment.go index e2797ba..6aa944f 100755 --- a/server/comment.go +++ b/server/comment.go @@ -3,7 +3,6 @@ package server import ( "html" "local/notes-server/filetree" - "log" "net/http" "path" "strconv" @@ -11,7 +10,6 @@ import ( ) func (s *Server) comment(w http.ResponseWriter, r *http.Request) { - log.Println("COMMAND", r.Method, r.FormValue("lineno"), r.FormValue("content")) if r.Method != "POST" { http.NotFound(w, r) return