Home > database >  Does 3rd party go library need to be recompiled when I use them?
Does 3rd party go library need to be recompiled when I use them?

Time:02-03

I am a starter to use go. I found people publish go library just by pushing to github repo with a tag. It doesn't really compile anything when publishing. There is not any build artefact except source code.

When I use a 3rd party library, a command go get xxx is called to run. Will the library be compiled in my local along with my source code together? So go doesn't have any compiled library?

CodePudding user response:

Does 3rd party go library need to be recompiled when I use them?

Yes.

Will the library be compiled in my local along with my source code together?

Yes.

So go doesn't have any compiled library?

Basically no.

  •  Tags:  
  • go
  • Related