file

package
v0.2.36-1469e8e Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: BSD-3-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 Saver

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

Saver saves file

func NewSaver

func NewSaver(dir string) (*Saver, error)

NewSaver creates temporary file saver dir

func (*Saver) Save

func (s *Saver) Save(name string, reader io.Reader) (string, error)

Save saves file to temp dir

Jump to

Keyboard shortcuts

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