This backs to my first submit:
A Golang mission xxx/api has been constructed into an archive file api.a with command: go construct -buildmode archive -o api.a a.go b.go
I’d like import package deal xxx/api and hyperlink towards the api.a with out accessing its supply code in one other important mission. How to do that?
And my reply stays the identical.
Present headerfiles, present CGO wrapper across the headers. These 2 need to be distributed in supply.
Or use plugins.
Or limit your self to the go variations that permit for binary packages.
Will it work on cross platforms apps too?
So far as I do know, such a bin solely package deal would solely work for its personal goal system. So that you needed to precompiled for every supported system.
As you possibly can learn on the linked GitHub subject, the numerous unknowns for the goal system has been one of many points why it has been dropped.
This github hyperlink you might be referring?
This matter was routinely closed 90 days after the final reply. New replies are now not allowed.