> Is there an easy way to see if any of my dependencies are using CGO? You could turn off CGO , with export CGO_ENABLED=0 and then a build should fail if a dependency uses CGO.
Or even faster: you could examine the library dependencies of the final executable and see if the C standard library is linked in. Run ldd on your executable and look for libraries like these as evidence that CGO was used: libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fed2a8eb000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fed2a6d3000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fed2a2e2000) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/394c0d32-aae3-4116-aa54-c0c683636ea8n%40googlegroups.com.