I thought source could be shared and vendored directly as well.

But is the buildmode and linkedshared arguments to go install and go 
build another possibility?
What are they for?

https://stackoverflow.com/a/30488222
https://stackoverflow.com/a/35060357

Thanks!



On Monday, June 26, 2017 at 7:47:14 AM UTC-7, Peter Mogensen wrote:
>
>
>
> On 2017-06-26 09:37, st ov wrote: 
> > Ruby has Gems and .NET has DLLs. 
> > How do you package and share libraries in Go? 
>
> Gems are mainly source files, right? ... Using 
> source libraries in Go is relatively straight forward. 
> For your "package main" programs the easiest is to put the 
> library source in "vendor" - maybe using some vendoring tool. (of which 
> there are many) 
>
> Using .so files to dynamically link to compiled shared libraries are 
> somewhat in it's infancy in Go. 
>
> One of the problems for real use is: 
>
> https://github.com/golang/go/issues/19233 
>
> /Peter 
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to