[PATCH] docs: Update more links to point to the new Go modules

Andrea Bolognani posted 1 patch 2 years, 3 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20211209111936.217199-1-abologna@redhat.com
docs/bindings.rst | 2 +-
docs/docs.html.in | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
[PATCH] docs: Update more links to point to the new Go modules
Posted by Andrea Bolognani 2 years, 3 months ago
A couple of links were still pointing to the obsolete Go
packages instead of the current module-aware ones.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
---
Pushed as trivial.

 docs/bindings.rst | 2 +-
 docs/docs.html.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/bindings.rst b/docs/bindings.rst
index c5b6b94519..81a4a67067 100644
--- a/docs/bindings.rst
+++ b/docs/bindings.rst
@@ -10,7 +10,7 @@ other languages:
 -  **C#**: Arnaud Champion develops `C# bindings <csharp.html>`__.
 
 -  **Go**: Daniel Berrange develops `Go
-   bindings <https://pkg.go.dev/libvirt.org/libvirt-go>`__.
+   bindings <https://pkg.go.dev/libvirt.org/go/libvirt>`__.
 
 -  **Java**: Daniel Veillard develops `Java bindings <java.html>`__.
 
diff --git a/docs/docs.html.in b/docs/docs.html.in
index 22a43517ed..8132090762 100644
--- a/docs/docs.html.in
+++ b/docs/docs.html.in
@@ -83,7 +83,7 @@
         <dt><a href="bindings.html">Language bindings and API modules</a></dt>
         <dd>Bindings of the libvirt API for
           <a href="csharp.html">c#</a>,
-          <a href="https://pkg.go.dev/libvirt.org/libvirt-go">go</a>,
+          <a href="https://pkg.go.dev/libvirt.org/go/libvirt">go</a>,
           <a href="java.html">java</a>,
           <a href="https://libvirt.org/ocaml/">ocaml</a>,
           <a href="https://search.cpan.org/dist/Sys-Virt/">perl</a>,
-- 
2.31.1