mardi 19 novembre 2019

Are libraries for testing incorporated in final build in golang?

I'm wondering if the libraries that I use for tests only will be included in the final build distribution. I see dependencies in go.mod/go.sum files but I can't check final binary.

I guess that the golang build tool deals somehow with redundant code but I didn't find any pieces of evidence.

Could somebody point me to that spot in the documentation or describe behavior?

Aucun commentaire:

Enregistrer un commentaire