![]() |
6 vuotta sitten | |
---|---|---|
.. | ||
.gitignore | 6 vuotta sitten | |
.travis.yml | 6 vuotta sitten | |
LICENSE | 6 vuotta sitten | |
README.md | 6 vuotta sitten | |
alpm.go | 6 vuotta sitten | |
callbacks.c | 6 vuotta sitten | |
callbacks.go | 6 vuotta sitten | |
db.go | 6 vuotta sitten | |
deps.go | 6 vuotta sitten | |
enums.go | 6 vuotta sitten | |
error.go | 6 vuotta sitten | |
handle.go | 6 vuotta sitten | |
package.go | 6 vuotta sitten | |
sync.go | 6 vuotta sitten | |
trans.go | 6 vuotta sitten | |
types.go | 6 vuotta sitten | |
version.go | 6 vuotta sitten |
go-alpm is a Go package for binding libalpm. With go-alpm, it becomes possible to manipulate the Pacman databases and packages just as Pacman would.
This project is MIT Licensed. See LICENSE for details.
Import the go-alpm repository in your go script
import "github.com/jguer/go-alpm"
Copy the library to your GOPATH
mkdir ~/go export GOPATH=~/go go get github.com/jguer/go-alpm
Try the included examples
cd $GOPATH/src/github.com/jguer/go-alpm/examples go run installed.go