Closed iameli closed 1 year ago
Essentially a no-op for this project, but it's a good practice to have import "C" in files that use CGO. This means that other things can be compiled with CGO_ENABLED=0 and it won't necessarily break.
import "C"
CGO_ENABLED=0
Essentially a no-op for this project, but it's a good practice to have
import "C"
in files that use CGO. This means that other things can be compiled withCGO_ENABLED=0
and it won't necessarily break.