Skip to content
go-readline is a wrapper for the GNU Readline library for the Go programming language
Branch: master
Clone or download
Pull request Compare This branch is 27 commits ahead of shavac:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example
AUTHORS
LICENSE
README.md
readline.c
readline.go

README.md

go-readline

go-readline is a wrapper for the GNU Readline library for the Go programming language.

This repository contains work from multiple contributors. See the AUTHORS file for details.

Requirements

go-readline requires Go 1.2 or newer. Download the latest from: https://code.google.com/p/go/downloads/

Git is required for installing via go get.

A C compiler (gcc or clang) and the GNU Readline library are required too.

On Debian and Ubuntu, install the development packages:

apt-get install build-essential libreadline-dev

On CentOS and RHEL:

yum install gcc readline-devel

On Mac OS X, via homebrew:

brew install readline

Installation

Make sure $GOROOT and $GOPATH are set, and install:

go get github.com/fiorix/go-readline
You can’t perform that action at this time.