gen icon indicating copy to clipboard operation
gen copied to clipboard

Failure with CGO

Open LukeMauldin opened this issue 9 years ago • 1 comments

I have a package that compiles cleanly using go build that also uses CGO. One of my files (not one that has //+gen tag) has the line import C When I run gen, I receive the error: commandline.go:7:8: could not import C (can't find import: ) gen should support packages that use CGO.

LukeMauldin avatar Nov 03 '16 20:11 LukeMauldin

I'll have too look into this, having not used CGO myself.

clipperhouse avatar Dec 21 '16 19:12 clipperhouse