file

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Path upload directory
	Path = "./upload/"
	// Size upload limit
	Size = 5242880
	// Mime type allowed
	Mime = "image/"
)

Functions

func Upload

func Upload(file multipart.File, header *multipart.FileHeader, err error) (string, string, error)

Upload file

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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