gosh

command module
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2014 License: GPL-3.0 Imports: 13 Imported by: 0

README

====================================
 Gosh: interactive shell for golang
====================================

``Gosh`` is the interactive Golang shell.
The goal is to provide an easy-to-use interactive execution environment.

.. image:: https://secure.travis-ci.org/mkouhei/gosh.png
   :target: http://travis-ci.org/mkouhei/gosh

Features
--------

* Interactive shell
* Ommiting package statement
* Importing libraries of non-standard library
* Ignoring duplicate import package
* Ignoring unused import package

Requirements
------------

* Golang >= 1.1
* `goimports <http://godoc.org/code.google.com/p/go.tools/cmd/goimports>`_ command

Installation
------------

Debian
~~~~~~

Install the follow packages::

* golang
* golang-go.tools


In the case using Golang not-distribution package,
execute next command.::

  $ go get code.google.com/p/go.tools/cmd/goimports

Set ``GOPATH``, and execute follows.::

  $ go get github.com/mkouhei/gosh
  
Usage
-----

Examples::

  $ $GOPATH/bin/gosh
  >>> import "fmt"
  >>> func main() {
  >>> fmt.Println("hello")
  >>> }
  hello
  
  >>>

Roadmap
-------

* Omitting the main function
* Tab completion

HISTORY
-------

0.1.2 (2014-11-12)
~~~~~~~~~~~~~~~~~~

* Changed to print error of runCmd.
* Suppressed "go install: no install location".
* Fixed lacking newline when writing.

0.1.1 (2014-11-10)
~~~~~~~~~~~~~~~~~~

* Fixed deadlock occurs when typing ``Ctrl+D`` immediately after gosh start.
* Fixed fail override tmp code file.

0.1.0 (2014-11-09)
~~~~~~~~~~~~~~~~~~

* First release


License
-------

``Gosh`` is licensed under GPLv3.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL