1
0
mirror of https://github.com/lxc/go-lxc.git synced 2026-02-05 06:46:38 +01:00

readme: Use new package import path.

Signed-off-by: Ruben Jenster <r.jenster@drachenfels.de>
This commit is contained in:
Ruben Jenster
2021-06-07 15:40:50 +02:00
parent 09e2a9332e
commit f043545127
2 changed files with 7 additions and 11 deletions

View File

@@ -35,7 +35,7 @@ cover:
@`which go` tool cover -func=/tmp/unpriv.out || true
doc:
@`which godoc` gopkg.in/lxc/go-lxc.v2 | less
@`which go` doc github.com/lxc/go-lxc | less
vet:
@echo "$(OK_COLOR)==> Running go vet $(NO_COLOR)"

View File

@@ -14,8 +14,8 @@ This package implements [Go](https://golang.org) bindings for the [LXC](https://
Type | Service | Status
--- | --- | ---
CI (Linux) | Github | [![CI tests](https://github.com/lxc/go-lxc/actions/workflows/test.yml/badge.svg?branch=v2)](https://github.com/lxc/go-lxc/actions/workflows/test.yml)
Go documentation | Godoc | [![GoDoc](https://godoc.org/gopkg.in/lxc/go-lxc.v2?status.svg)](https://godoc.org/gopkg.in/lxc/go-lxc.v2)
Static analysis | GoReport | [![Go Report Card](https://goreportcard.com/badge/gopkg.in/lxc/go-lxc.v2)](https://goreportcard.com/report/gopkg.in/lxc/go-lxc.v2)
Go documentation | Godoc | [![GoDoc](https://godoc.org/github.com/lxc/go-lxc?status.svg)](https://godoc.org/github.com/lxc/go-lxc)
Static analysis | GoReport | [![Go Report Card](https://goreportcard.com/badge/github.com/lxc/go-lxc)](https://goreportcard.com/report/github.com/lxc/go-lxc)
## Requirements
@@ -31,7 +31,7 @@ sudo apt install git golang gcc make liblxc1 liblxc-dev lxc-utils pkg-config
To install it, run:
```bash
go get gopkg.in/lxc/go-lxc.v2
go get github.com/lxc/go-lxc
```
## Trying
@@ -39,7 +39,7 @@ go get gopkg.in/lxc/go-lxc.v2
To try examples, run:
```bash
# cd ~/go/src/gopkg.in/lxc/go-lxc.v2/examples/
# cd ~/go/src/github.com/lxc/go-lxc/examples/
# make
==> Running go vet
@@ -62,17 +62,13 @@ exit
2018/12/27 22:39:52 RunCommand
uid=0(root) gid=0(root) groups=0(root)
# stop/stop
# stop/stop
2018/12/27 22:39:54 Stopping the container...
# destroy/destroy
# destroy/destroy
2018/12/27 22:39:57 Destroying container...
```
## Stability
The package API will remain stable as described in [gopkg.in](https://gopkg.in).
## Backwards Compatibility
LXC has always focused on strong backwards compatibility. In fact, the API hasn't been broken from release `1.0.0` onwards. Main LXC is currently at version `2.*.*`.