repl

package
v0.7.8 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package repl implements the “gop repl” command.

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &base.Command{
	UsageLine: "repl",
	Short:     "Play Go+ in console",
}

Cmd - gop repl

Functions

This section is empty.

Types

type LinerUI added in v0.7.4

type LinerUI struct {
	// contains filtered or unexported fields
}

LinerUI implements repl.UI interface.

func (*LinerUI) Printf added in v0.7.4

func (u *LinerUI) Printf(format string, a ...interface{})

Printf is required by repl.UI interface.

func (*LinerUI) SetPrompt added in v0.7.4

func (u *LinerUI) SetPrompt(prompt string)

SetPrompt is required by repl.UI interface.

Jump to

Keyboard shortcuts

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