From nobody Mon May 6 17:53:38 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) client-ip=207.211.31.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by mx.zohomail.com with SMTPS id 1580388496182581.1837656071096; Thu, 30 Jan 2020 04:48:16 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-221-8i7bPE7wMtSE0z3Q-TE6Ow-1; Thu, 30 Jan 2020 07:48:12 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id D9E8C188C022; Thu, 30 Jan 2020 12:48:03 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 741155DA75; Thu, 30 Jan 2020 12:48:02 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 6D7CD18089C8; Thu, 30 Jan 2020 12:47:58 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 00UCluLv021467 for ; Thu, 30 Jan 2020 07:47:56 -0500 Received: by smtp.corp.redhat.com (Postfix) id 1D2465C28C; Thu, 30 Jan 2020 12:47:56 +0000 (UTC) Received: from kinshicho.usersys.redhat.com (unknown [10.43.2.246]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9A85E5C1B2 for ; Thu, 30 Jan 2020 12:47:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1580388494; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=wDOGO4Vqu2jIAIsCmluC21tBPvvsFz+8wyf74qOEZUA=; b=ana1O5mIP4lr/vepEnqt+DruGGcZ63aRgvyYfOEgsYjhV6hmeLdE/fwL/F2+kveyNfmu8l TMw1VQcXoCLBZzSppTrBSL1iBmN5zdnWGTsH0cs6LqTLK+kOHFVfFkZ859eUR7D8DiersM Htfb9H+vMrTRVuUS3ju/7twTqEC5WzI= From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt-go PATCH] Import from libvirt.org instead of github.com Date: Thu, 30 Jan 2020 13:47:50 +0100 Message-Id: <20200130124750.63694-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-MC-Unique: 8i7bPE7wMtSE0z3Q-TE6Ow-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Since commit 201156ec6e65e08cdb04d6fdefe013652fb7fa87 Author: Daniel P. Berrang=C3=A9 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 Reviewed-by: Daniel P. Berrang=C3=A9 --- 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=3Dmaster)](https://travis-ci.org/libvirt/libvirt-go) [![GoDoc](http= s://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=3Dmaster)](https://travis-ci.org/libvirt/libvirt-go) [![GoDoc](http= s://godoc.org/libvirt.org/libvirt-go?status.svg)](https://godoc.org/libvirt= .org/libvirt-go) =20 Go bindings for libvirt. =20 @@ -32,7 +32,7 @@ changes may apply to future versions: =20 ## Documentation =20 -* [api documentation for the bindings](https://godoc.org/github.com/libvir= t/libvirt-go) +* [api documentation for the bindings](https://godoc.org/libvirt.org/t lib= virt-go) * [api documentation for libvirt](http://libvirt.org/html/libvirt-libvirt.= html) =20 ## 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 :=3D libvirt.NewConnect("qemu:///system") // if err !=3D nil { --=20 2.24.1