Closed
Description
When using vendor mode .h files are not copied to the vendor directory because they are in a subdirectory, according to cgo's documentation (https://golang.org/cmd/cgo/) we should not put non-go files in subdirectories.
I have created a fork with all .h files moved from the /include/ subdirectory to the parent library (keisar#1), after these changes the library works in vendor mode.
If all agree I will create the PR here as well.
Another possible solution is to follow this approach: https://github.com/godror/godror/pull/38/files
which means creating dummy go files in the /include subdirectories and importing them from h3.go.
If you prefer I can send a PR for this approach as well.
Related issue: #16
Metadata
Assignees
Labels
No labels
Activity