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) {
|
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)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user