]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: Update godoc URLs for Go packages
authorAndrea Bolognani <abologna@redhat.com>
Thu, 30 Jan 2020 17:10:35 +0000 (18:10 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Fri, 31 Jan 2020 10:59:43 +0000 (11:59 +0100)
Since

  commit 201156ec6e65e08cdb04d6fdefe013652fb7fa87
  Author: Daniel P. Berrangé <berrange@redhat.com>
  Date:   Mon Dec 16 10:06:50 2019 +0000

    docs: add pages to support Go module package resolution

it's possible to use

  import "libvirt.org/libvirt-go"
  import "libvirt.org/libvirt-go-xml"

in Go programs, which will result in the Go packages being
fetched directly from libvirt.org instead of GitHub.

The godoc website offers the API documentation for the updated
imports, and that's where we should send users.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
docs/downloads.html.in

index 7cbf3cadc016ca5d4787d6c1fe326a0b559a0fc7..30e9b8280e3f7ca4e9f39308fbe3d7819b32cfc8 100644 (file)
@@ -71,7 +71,7 @@
             <a href="https://github.com/libvirt/libvirt-go">github</a>
           </td>
           <td>
-            <a href="https://godoc.org/github.com/libvirt/libvirt-go">api ref</a>
+            <a href="https://godoc.org/libvirt.org/libvirt-go">api ref</a>
           </td>
         </tr>
         <tr>
             <a href="https://github.com/libvirt/libvirt-go-xml">github</a>
           </td>
           <td>
-            <a href="https://godoc.org/github.com/libvirt/libvirt-go-xml">api ref</a>
+            <a href="https://godoc.org/libvirt.org/libvirt-go-xml">api ref</a>
           </td>
         </tr>
         <tr>