tmp

package
Version: v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	*os.File
}

File wraps a *os.File and also implements a Close method which cleans up the file from the filesystem

func NewFile

func NewFile(dir, pattern string) (*File, error)

func (*File) Close

func (t *File) Close() error

Close closes the file handle and removes the file from the filesystem

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL