Since
commit 201156ec6e65e08cdb04d6fdefe013652fb7fa87
Author: Daniel P. Berrangé <berrange(a)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"
in Go programs, which will result in the Go bindings being
fetched directly from
libvirt.org thus removing our reliance
on GitHub.
Update the documentation accordingly.
Signed-off-by: Andrea Bolognani <abologna(a)redhat.com>
---
README.md | 4 ++--
doc.go | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index 326d6a0..c11e9ab 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# libvirt-go [![Build
Status](https://travis-ci.org/libvirt/libvirt-go.svg?branch=master)](http...
[![GoDoc](https://godoc.org/github.com/libvirt/libvirt-go?status.svg)](https://godoc.org/github.com/libvirt/libvirt-go)
+# libvirt-go [![Build
Status](https://travis-ci.org/libvirt/libvirt-go.svg?branch=master)](http...
[![GoDoc](https://godoc.org/libvirt.org/libvirt-go?status.svg)](https://godoc.org/libvirt.org/libvirt-go)
Go bindings for libvirt.
@@ -32,7 +32,7 @@ changes may apply to future versions:
## Documentation
-* [api documentation for the
bindings](https://godoc.org/github.com/libvirt/libvirt-go)
+* [api documentation for the
bindings](https://godoc.org/libvirt.org/t libvirt-go)
* [api documentation for
libvirt](http://libvirt.org/html/libvirt-libvirt.html)
## Contributing
diff --git a/doc.go b/doc.go
index 55d75b0..35c9962 100644
--- a/doc.go
+++ b/doc.go
@@ -116,7 +116,7 @@
// To connect to libvirt
//
// import (
-// libvirt "github.com/libvirt/libvirt-go"
+// libvirt "libvirt.org/libvirt-go"
// )
// conn, err := libvirt.NewConnect("qemu:///system")
// if err != nil {
--
2.24.1