testfile

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2023 License: AGPL-3.0, ISC Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTempFileWithContent

func CreateTempFileWithContent(t testing.TB, filePath string, content string)

CreateTempFileWithContent Creates a file in the specified filepath with the provided content The file will be deleted automatically when test finishes (using testing Cleanup)

Types

This section is empty.

Jump to

Keyboard shortcuts

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