Skip to content
Discussion options

You must be logged in to vote

I think there is no way to do that; it is how Go works. I also do not like that, but there is no way around it. It is not used if you are not building without CGo, but it will always be a dependency. Similarly, e.g., with tests in other projects, you cannot even use some dependency JUST for tests, it will always be a dependency of the project. That is not even an issue; I am working on another project that includes C source. For EVERY change in the C file, like one line changed, I have to REBUILD 30+ C files. Those issues should be addressed in Go source and build tools, not possible to do it for individual projects.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@gen2brain
Comment options

@TTSKarlsson
Comment options

@gen2brain
Comment options

@TTSKarlsson
Comment options

Answer selected by TTSKarlsson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants