clipboard icon indicating copy to clipboard operation
clipboard copied to clipboard

Remove cgo requirements on macOS

Open xiebruce opened this issue 2 years ago • 2 comments

I believe go is a powerfull language and believe that go itself can get the clipboard contents, using cgo is not go anymore.

xiebruce avatar Aug 13 '23 08:08 xiebruce

removing Cgo on macOS is even more complicated than #25

There is a promising project https://github.com/ebitengine/purego but there is no clear practice on what should we do to remove the cgo requirement.

PR welcome.

changkun avatar Aug 13 '23 10:08 changkun

maybe this article can help: https://blog.webp.se/golang-libvips-cgo-en/

xiebruce avatar Oct 13 '23 12:10 xiebruce