You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems unavoidable: without a .go file, the go tool does not know the name of the package. Furthermore, it seems desirable: you should have a .go file that documents that package, as godoc does not know how to extract documentation from a .swig file.
I'll leave this open to update the documentation.
ianlancetaylor
changed the title
swig: can't load package
cmd/go: document that a .go file is required even if there is a .swig file
Jul 27, 2015
Only include
example.swig
andsimple.c
:If i create a
x.go
like this:go build
is ok.The text was updated successfully, but these errors were encountered: