mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 14:43:55 +00:00
17 lines
166 B
Go
17 lines
166 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/atotto/clipboard"
|
|
)
|
|
|
|
func main() {
|
|
text, err := clipboard.ReadAll()
|
|
if err != nil {
|
|
panic(err)
|
|
}
|
|
|
|
fmt.Print(text)
|
|
}
|