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