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:
2
Makefile
2
Makefile
@@ -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)"
|
||||
|
||||
16
README.md
16
README.md
@@ -14,8 +14,8 @@ This package implements [Go](https://golang.org) bindings for the [LXC](https://
|
||||
Type | Service | Status
|
||||
--- | --- | ---
|
||||
CI (Linux) | Github | [](https://github.com/lxc/go-lxc/actions/workflows/test.yml)
|
||||
Go documentation | Godoc | [](https://godoc.org/gopkg.in/lxc/go-lxc.v2)
|
||||
Static analysis | GoReport | [](https://goreportcard.com/report/gopkg.in/lxc/go-lxc.v2)
|
||||
Go documentation | Godoc | [](https://godoc.org/github.com/lxc/go-lxc)
|
||||
Static analysis | GoReport | [](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.*.*`.
|
||||
|
||||
Reference in New Issue
Block a user