gt

package
v0.0.0-...-6bd54c5 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2016 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

package gt is for GOPATH testing for vendor.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileSpec

type FileSpec struct {
	Pkg     string
	Name    string
	Imports []string
	Build   string
}

func File

func File(name string, imports ...string) FileSpec

func FileBuild

func FileBuild(name, build string, imports ...string) FileSpec

func (FileSpec) Bytes

func (fs FileSpec) Bytes() []byte

type GopathTest

type GopathTest struct {
	*testing.T
	// contains filtered or unexported fields
}

func New

func New(t *testing.T) *GopathTest

func (*GopathTest) Check

func (g *GopathTest) Check(err error)

func (*GopathTest) Clean

func (g *GopathTest) Clean()

func (*GopathTest) Current

func (g *GopathTest) Current() string

func (*GopathTest) Fatal

func (g *GopathTest) Fatal(args ...interface{})

func (*GopathTest) In

func (g *GopathTest) In(pkg string)

func (*GopathTest) Path

func (g *GopathTest) Path(pkg string) string

func (*GopathTest) Remove

func (g *GopathTest) Remove(at string)

func (*GopathTest) Setup

func (g *GopathTest) Setup(at string, files ...FileSpec)

Jump to

Keyboard shortcuts

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