How to make a package with cgo "go gettable"

107 views
Skip to first unread message

Miki Tebeka

unread,
Jul 15, 2019, 12:14:56 AM7/15/19
to golang-nuts
Hi,

I have a packge with cgo that require some external headers & libraries to build (Apache arrow).
What's the best practice for making this packge easy to "go get"?

To make things more interesting, Arrow is a C++ library. Currently I build a static library and link with it, however it's very platform dependent.

Thanks,
Miki

xiang liu

unread,
Jul 15, 2019, 12:55:59 AM7/15/19
to Miki Tebeka, golang-nuts
I have the same situaction,    Unlikely,  go does not have a better way to handle this. 

Miki Tebeka <miki....@gmail.com> 于2019年7月15日周一 下午12:14写道:
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/b89bfd2d-3333-4097-bf31-f4692e88da95%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages