-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add go bindings #144
base: master
Are you sure you want to change the base?
add go bindings #144
Conversation
Hi @nepet Thanks for this. I'm not familiar with go, would it be possible for you to give the swig, build and test run command lines you are using to get the the test to build/run? Based on that I should be able to munge it into the meson build, I just need to verify that the resulting test compiles and runs correctly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
ok |
@nepet any progress? I need this aswell and would be willing to help |
@jackstar12 I am more than happy if you take over this (2 years old) PR! |
I need assistance adding the go binding. Who may I reach out to? |
Hi @SSGoku369 if you can answer my question above then I can probably help integrate this. |
No progress. Where is a good starting point? |
I would like to chat if possible. What is a good time for you?
|
For security reasons we don't give out contact details beyond our github profile and commit email addresses. You can contact me via my commit email or here. |
I understand. Well I'm having trouble finding a starting point on the integration. I have not made any progress and would really appreciate your help. Thank you.
…________________________________
From: jgriffiths ***@***.***>
Sent: Friday, November 24, 2023 1:58 AM
To: Blockstream/gdk ***@***.***>
Cc: Ray ***@***.***>; Mention ***@***.***>
Subject: Re: [Blockstream/gdk] add go bindings (#144)
For security reasons we don't give out contact details beyond our github profile and commit email addresses. You can contact me via my commit email or here.
—
Reply to this email directly, view it on GitHub<#144 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AU6ZBFTWGMBAO2ZZD4PYZGDYGBVU5AVCNFSM5FYGKGN2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBSGU2DCOJYHA2Q>.
You are receiving this because you were mentioned.
|
I think we can run
$ go version
$ go mod init github.com/Blockstream/gdk/src/swig_go
$ go mod tidy
$ swig -go -cgo swig_gasdk.i
$ go test |
Hey All,
this PR introduces bindings for Golang (based on the swig framework). Still, an integration in the build process is missing and needed. Maybe someone of you who is more familiar with meson and the gdk build process can help me out here.
Also the notification handler sample is not very useful but we dont need it right now. I might provide a better solution in the future or on request.
Regards,
Peter