From 41c8173c958e72a4d75fcbb89eeeef072920be9f Mon Sep 17 00:00:00 2001 From: Luther Wen Xu Date: Mon, 11 May 2020 14:03:18 +0800 Subject: [PATCH] db: Remove debug print statements --- db/db.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/db/db.go b/db/db.go index 16ff3d1..9ba43b4 100644 --- a/db/db.go +++ b/db/db.go @@ -1,8 +1,6 @@ package db import ( - "fmt" - "github.com/jinzhu/gorm" _ "github.com/jinzhu/gorm/dialects/sqlite" ) @@ -29,7 +27,6 @@ func Close() { } func CreateReactRole(messageID, emojiID, roleID string) { - fmt.Println("CreateReactRole", messageID, emojiID, roleID) db.Create(&ReactRole{ MessageID: messageID, EmojiID: emojiID, @@ -38,7 +35,6 @@ func CreateReactRole(messageID, emojiID, roleID string) { } func GetReactRole(messageID, emojiID string) string { - fmt.Println("GetReactRole", messageID, emojiID) result := ReactRole{ MessageID: messageID, EmojiID: emojiID,