env

package
v0.0.0-...-7b31a5f Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2017 License: BSD-2-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OverlayArchive

func OverlayArchive(v *nvim.Nvim) io.Reader

Types

type Env

type Env struct {
	GOROOT string `eval:"$GOROOT"`
	GOPATH string `eval:"$GOPATH"`
	GOOS   string `eval:"$GOOS"`
	GOARCH string `eval:"$GOARCH"`
}

func (*Env) BuildContext

func (e *Env) BuildContext() *build.Context

func (*Env) BuildContextWithOverlay

func (e *Env) BuildContextWithOverlay(v *nvim.Nvim) (*build.Context, error)

func (*Env) Environ

func (e *Env) Environ() []string

Environ returns the environment as strings of the form "key=value".

Jump to

Keyboard shortcuts

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