![]() |
vor 6 Jahren | |
---|---|---|
.. | ||
.gitignore | vor 6 Jahren | |
.travis.yml | vor 6 Jahren | |
LICENSE | vor 6 Jahren | |
README.md | vor 6 Jahren | |
alpm.go | vor 6 Jahren | |
callbacks.c | vor 6 Jahren | |
callbacks.go | vor 6 Jahren | |
db.go | vor 6 Jahren | |
deps.go | vor 6 Jahren | |
enums.go | vor 6 Jahren | |
error.go | vor 6 Jahren | |
handle.go | vor 6 Jahren | |
package.go | vor 6 Jahren | |
sync.go | vor 6 Jahren | |
trans.go | vor 6 Jahren | |
types.go | vor 6 Jahren | |
version.go | vor 6 Jahren |
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