[libvirt] [PATCH] Point to the new libvirt-go bindings

Daniel P. Berrange berrange at redhat.com
Tue Dec 13 17:08:55 UTC 2016


The github.com/rgbkrk/libvirt-go bindings were the most complete
bindings historically, but their API coverage stops at 1.2.4,
with exception of a couple of newer APIs.

The new bindings at http://libvirt.org/git/?p=libvirt-go.git;a=log
how have (almost[1]) 100% API coverage all the way to 2.5.0. They also
expose the APIs in a way that allows for much stronger go type
checking by the compiler, and expose typed parameters as explicit
structs. Finally the bindings are able to conditionally compile against
any libvirt version 1.2.0 -> 2.5.0 without use of go build tags.

Change the docs to point to these new bindings, since they'll be
a better bet for users long term.

[1] virEvent & virStream callbacks are still TODO to be fixed
    real soon.

Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
---
 docs/bindings.html.in  |  4 ++--
 docs/docs.html.in      |  2 +-
 docs/downloads.html.in | 15 +++++++++++++++
 3 files changed, 18 insertions(+), 3 deletions(-)

diff --git a/docs/bindings.html.in b/docs/bindings.html.in
index 7fe26df..dc15576 100644
--- a/docs/bindings.html.in
+++ b/docs/bindings.html.in
@@ -15,8 +15,8 @@
         <a href="csharp.html">C# bindings</a>.
       </li>
      <li>
-        <strong>Go</strong>: Kyle Kelley et al. are developing
-        <a href="https://github.com/rgbkrk/libvirt-go">Go bindings</a>.
+        <strong>Go</strong>: Daniel Berrange develops
+        <a href="https://godoc.org/github.com/libvirt/libvirt-go">Go bindings</a>.
       </li>
       <li>
         <strong>Java</strong>: Daniel Veillard develops
diff --git a/docs/docs.html.in b/docs/docs.html.in
index b0d200b..60489a0 100644
--- a/docs/docs.html.in
+++ b/docs/docs.html.in
@@ -57,7 +57,7 @@
         <dt><a href="bindings.html">Language bindings</a></dt>
         <dd>Bindings of the libvirt API for
           <a href="csharp.html">c#</a>,
-          <a href="https://github.com/rgbkrk/libvirt-go">go</a>,
+          <a href="https://godoc.org/github.com/libvirt/libvirt-go">go</a>,
           <a href="java.html">java</a>,
           <a href="http://libvirt.org/ocaml/">ocaml</a>.
           <a href="http://search.cpan.org/dist/Sys-Virt/">perl</a>,
diff --git a/docs/downloads.html.in b/docs/downloads.html.in
index dd96409..3a6ea91 100644
--- a/docs/downloads.html.in
+++ b/docs/downloads.html.in
@@ -57,6 +57,21 @@
           </td>
         </tr>
         <tr>
+          <td>Go</td>
+          <td>
+            <a href="ftp://libvirt.org/libvirt/go/">ftp</a>
+            <a href="http://libvirt.org/sources/go/">http</a>
+            <a href="https://libvirt.org/sources/go/">https</a>
+          </td>
+          <td>
+            <a href="http://libvirt.org/git/?p=libvirt-go.git;a=summary">libvirt</a>
+          </td>
+          <td>
+            <a href="https://gitlab.com/libvirt/libvirt-go">gitlab</a>
+            <a href="https://github.com/libvirt/libvirt-go">github</a>
+          </td>
+        </tr>
+        <tr>
           <td>Java</td>
           <td>
             <a href="ftp://libvirt.org/libvirt/java/">ftp</a>
-- 
2.9.3




More information about the libvir-list mailing list