options

package
v2.2.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Version = "v2.2.4"

	DefaultInboxSize      = 10
	DefaultInitialState   = "__initialization__"
	DefaultInitialMessage = "__initialize__"
)

...

Variables

This section is empty.

Functions

func Parse

func Parse(args []string, dependencies Dependencies) (interpreter.Options, error)

Parse ...

Types

type Dependencies

type Dependencies struct {
	UsageWriter io.Writer
	ErrorWriter io.Writer
	Exiter      runtime.Exiter
}

Dependencies ...

type ExiterInterface

type ExiterInterface interface {
	Exit(code int)
}

ExiterInterface ...

It's used only for mock generating.

type Writer

type Writer interface {
	io.Writer
}

Writer ...

It's used only for mock generating.

Jump to

Keyboard shortcuts

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