[libvirt] auto generated golang dbus binding for libvirt

Hi. Thanks for dbus based interface to libvirt. Now i'm able to automatic generate bindings for go https://godoc.org/sdstack.com/sdstack/go-libvirt Code generator is ugly (gen.go and template.tpl) but package already able to do basic operations. Thanks again for you work. -- Vasiliy Tolstov, e-mail: v.tolstov@selfip.ru

On Tue, Jul 10, 2018 at 16:24:55 +0300, Vasiliy Tolstov wrote:
Hi. Thanks for dbus based interface to libvirt. Now i'm able to automatic generate bindings for go https://godoc.org/sdstack.com/sdstack/go-libvirt Code generator is ugly (gen.go and template.tpl) but package already able to do basic operations. Thanks again for you work.
We have native go bindings: https://libvirt.org/git/?p=libvirt-go.git;a=summary I don't think generating them using dbus is a good idea.

вт, 10 июл. 2018 г. в 16:33, Peter Krempa <pkrempa@redhat.com>:
On Tue, Jul 10, 2018 at 16:24:55 +0300, Vasiliy Tolstov wrote:
Hi. Thanks for dbus based interface to libvirt. Now i'm able to automatic generate bindings for go https://godoc.org/sdstack.com/sdstack/go-libvirt Code generator is ugly (gen.go and template.tpl) but package already able to do basic operations. Thanks again for you work.
We have native go bindings:
https://libvirt.org/git/?p=libvirt-go.git;a=summary
I don't think generating them using dbus is a good idea.
May be not good, but i don't need cgo. And if dbus exists - why not use it =)? -- Vasiliy Tolstov, e-mail: v.tolstov@selfip.ru
participants (2)
-
Peter Krempa
-
Vasiliy Tolstov