Maybe using Plugins?
Read material:
https://golang.org/pkg/plugin/
https://medium.com/learning-the-go-programming-language/writing-modular-go-programs-with-plugins-ec46381ee1a9
El lunes, 13 de mayo de 2019, 10:55:40 (UTC-3), raje@gmail.com escribió:
>
> Hi Ian,
>
>
> Is there any other way
On Mon, May 13, 2019 at 6:55 AM wrote:
>
> Is there any other way in Go, using which we can hide code of common
> utilities and still it can be used in different projects (like static and
> dynamic libraries in C).
Not at present.
You may want to look at the discussion around https://golang.or
>
> Hi Ian,
Is there any other way in Go, using which we can hide code of common
utilities and still it can be used in different projects (like static and
dynamic libraries in C).
Rajesh
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To un
On Fri, May 10, 2019 at 11:35 AM wrote:
>
> Thanks for update.
> But than it is confusing, what is use of ".a" files ?
> Where we can use it ?
Especially when using module mode with Go 1.12 and future releases,
".a" files are an internal detail of how Go programs are built. You
aren't expected t
Hi Ian,
Thanks for update.
But than it is confusing, what is use of ".a" files ?
Where we can use it ?
Regards,
Rajesh
--
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 ema
On Fri, May 10, 2019 at 10:56 AM wrote:
>
> I have certain utility package which can be used by multiple projects.
> Now in place of copying complete utility code in all of these projects at
> time of building that project, I need to use archive file .
>
> So, I generated and it is placed in $GO
Hi,
I have certain utility package which can be used by multiple projects.
Now in place of copying complete utility code in all of these projects at
time of building that project, I need to use archive file .
So, I generated and it is placed in $GOPATH/pkg/linux_amd64
[Note $GOROOT and $GOPA