diff options
author | Max Magorsch <arzano@gentoo.org> | 2020-06-24 20:27:09 +0200 |
---|---|---|
committer | Max Magorsch <arzano@gentoo.org> | 2020-06-24 20:27:09 +0200 |
commit | 49d023e7bdc22df3ea91adb2a5c47c6e36ae0578 (patch) | |
tree | 36e79a0fe4cb952749e451db2832e568f48cd524 | |
parent | Fix getAllMessagesCount to use message_id_field (diff) | |
download | archives-49d023e7bdc22df3ea91adb2a5c47c6e36ae0578.tar.gz archives-49d023e7bdc22df3ea91adb2a5c47c6e36ae0578.tar.bz2 archives-49d023e7bdc22df3ea91adb2a5c47c6e36ae0578.zip |
Remove verbose logging messages
Signed-off-by: Max Magorsch <arzano@gentoo.org>
-rw-r--r-- | pkg/app/message/show.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/pkg/app/message/show.go b/pkg/app/message/show.go index 7ceb84c..e8eb456 100644 --- a/pkg/app/message/show.go +++ b/pkg/app/message/show.go @@ -5,7 +5,6 @@ package message import ( "archives/pkg/database" "archives/pkg/models" - "fmt" "net/http" "strings" ) @@ -32,7 +31,6 @@ func Show(w http.ResponseWriter, r *http.Request) { var queryParts []string for _, reference := range message.References { - fmt.Println("> " + reference.Id) queryParts = append(queryParts, "reference_id = '" + reference.Id + "'") } query := strings.Join(queryParts, " OR ") @@ -46,7 +44,6 @@ func Show(w http.ResponseWriter, r *http.Request) { // TODO only if len(refs) >= 1 var nextQueryParts []string for _, reference := range refs { - fmt.Println("> " + reference.MessageId) nextQueryParts = append(nextQueryParts, "id = '" + reference.MessageId + "'") } nextQuery := strings.Join(nextQueryParts, " OR ") @@ -57,9 +54,5 @@ func Show(w http.ResponseWriter, r *http.Request) { // Where date is newer than message Select() - fmt.Println("-------------------") - fmt.Println(err) - fmt.Println(len(replies)) - renderMessageTemplate(w, listName, message, replies) } |