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