buildcontext

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteFile

func WriteFile(build *Context, filename string, data []byte, perm os.FileMode) error

WriteFile :

Types

type Context

type Context struct {
	*build.Context
	WriteFile func(filename string, data []byte, perm os.FileMode) error
}

Context : (from *build.Context, not context.Context)

func Default

func Default() *Context

Default :

func FakeContext

func FakeContext(pkgs map[string]map[string]string) *Context

FakeContext :

Jump to

Keyboard shortcuts

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