Go program using an external module

Wrote my 1st Go program to use an external module on github. Specifically the clipboard module. I was trying to follow the instructions on github…without success. Then I watched a YouTube video titled “Master Go Modules in under 13 minutes – Go _ Golang Module Tutorial”. After which I basically only needed to execute 3 terminal commands…
go mod init
go mod tidy
go mod vendor

This sequence resulted in creating the “go.mod” and the module being downloaded.

It worked…program wise, clipboard.Read knew what clipboard.Write wrote. However after running it, manually pasting…didn’t work. KDEs clipboard did not contain what the program wrote to the clipboard.

I did this successfully with Python. I guess you can’t expect newer Go libraries/packages to be as good/reliable as much older Python’s.