1
0

feat: remove debug print

This commit is contained in:
502647092 2018-09-03 00:23:30 +08:00
parent 3598c872e3
commit 1893f06bee

View File

@ -43,7 +43,6 @@ func startServer(b string) {
g.POST("/", func(c *gin.Context) { g.POST("/", func(c *gin.Context) {
text = c.Query("text") text = c.Query("text")
time, _ = strconv.ParseInt(c.Query("time"), 10, 64) time, _ = strconv.ParseInt(c.Query("time"), 10, 64)
fmt.Printf("Update Clipboard: %s\n", text)
}) })
g.Run(b) g.Run(b)
} }
@ -72,7 +71,6 @@ func readClipboard(a string) {
old = sText old = sText
updateTime = sTime updateTime = sTime
clipboard.WriteAll(sText) clipboard.WriteAll(sText)
fmt.Printf("Update Clipboard: %s\n", sText)
} }
} }
} }