fileutil

package
v0.0.0-...-f283956 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileHeaderToBytes

func FileHeaderToBytes(fileHeader *multipart.FileHeader) ([]byte, error)

FileHeaderToBytes 将 *multipart.FileHeader 转换为 []byte

func RemoveFile

func RemoveFile(file string) error

func SaveUploadedFile

func SaveUploadedFile(file *multipart.FileHeader, dst string) error

SaveUploadedFile uploads the form file to specific dst.

Types

This section is empty.

Jump to

Keyboard shortcuts

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