[libvirt PATCH] docs: Update godoc URLs for Go packages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Since

  commit 201156ec6e65e08cdb04d6fdefe013652fb7fa87
  Author: Daniel P. Berrangé <berrange@xxxxxxxxxx>
  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@xxxxxxxxxx>
---
 docs/downloads.html.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/downloads.html.in b/docs/downloads.html.in
index e84455ca04..d4b4701ee0 100644
--- a/docs/downloads.html.in
+++ b/docs/downloads.html.in
@@ -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>
@@ -206,7 +206,7 @@
             <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>
-- 
2.24.1





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux