feat: remove debug print
This commit is contained in:
parent
3598c872e3
commit
1893f06bee
2
main.go
2
main.go
@ -43,7 +43,6 @@ func startServer(b string) {
|
||||
g.POST("/", func(c *gin.Context) {
|
||||
text = c.Query("text")
|
||||
time, _ = strconv.ParseInt(c.Query("time"), 10, 64)
|
||||
fmt.Printf("Update Clipboard: %s\n", text)
|
||||
})
|
||||
g.Run(b)
|
||||
}
|
||||
@ -72,7 +71,6 @@ func readClipboard(a string) {
|
||||
old = sText
|
||||
updateTime = sTime
|
||||
clipboard.WriteAll(sText)
|
||||
fmt.Printf("Update Clipboard: %s\n", sText)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user