testutils

package
v0.0.1-0...-0d8b7bd Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2016 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TempDir

type TempDir struct {
	// contains filtered or unexported fields
}

TempDir contains information about the temp dir

func NewTempDir

func NewTempDir() TempDir

Create a new temporary unique directory in os temp dir

func (*TempDir) Destroy

func (t *TempDir) Destroy()

Destroy removes the temp directory and its contents

func (*TempDir) GetPath

func (t *TempDir) GetPath() string

GetPath return the full path to the created temp directory

Jump to

Keyboard shortcuts

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