Skip to content

tiborvass/cgo-bash

Repository files navigation

cgo-bash

Install

In order to install this package, you need to run go generate first:

$ go get -d github.com/tiborvass/cgo-bash
$ cd $GOPATH/src/github.com/tiborvass/cgo-bash
$ go generate # downloads, patches, and compiles bash
$ go install

If needed, you can compile it inside a Docker container:

$ docker build -t cgo-bash .
$ docker run -it -v $(pwd):/go/src/github.com/tiborvass/cgo-bash cgo-bash bash
# go generate
# go install

Usage & Documentation

Godoc documentation

Example

Why?

Why not?

License

MIT

About

Define your own Go functions as bash builtins

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published