testutil

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile

func CopyFile(t *testing.T, src, dest string) func()

func CreateBaseDir

func CreateBaseDir(t *testing.T) (home, config, data string)

func CreateDirs

func CreateDirs(t *testing.T, dirs ...string)

func ReadToml

func ReadToml(t *testing.T, path string) map[string]interface{}

func SetDirEnv

func SetDirEnv(t *testing.T, home string)

func WriteToml

func WriteToml(t *testing.T, path string, data map[string]interface{}) func()

Types

This section is empty.

Jump to

Keyboard shortcuts

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