extra

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2019 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Env

type Env struct {
	Option
	// contains filtered or unexported fields
}

func New

func New(opt Option) Env

func WithoutDefault

func WithoutDefault() Env

func (*Env) Bind

func (e *Env) Bind(name string, c typed.Command)

func (*Env) Eval

func (e *Env) Eval(command *ast.Command) (err error)

type Option

type Option struct {
	DB *sqlx.DB
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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