Versions in this module Expand all Collapse all v2 v2.0.1 Feb 28, 2024 v2.0.0 Feb 13, 2023 Changes in this version + func ErrNoUploadFile() error + func ErrNotAllowExt() error + func ErrNotAllowSize() error + func Filename(dir, s string) string + type Upload struct + func New(dir, format string, maxSize int64, f func(string, string) string, ...) (*Upload, error) + func (u *Upload) Dir() string + func (u *Upload) Do(field string, r *http.Request) ([]string, error) + func (u *Upload) Open(name string) (fs.File, error) + func (u *Upload) SetWatermark(w *watermark.Watermark) + func (u *Upload) SetWatermarkFS(fs fs.FS, path string, padding int, pos watermark.Pos) error + func (u *Upload) SetWatermarkFile(path string, padding int, pos watermark.Pos) error Other modules containing this package github.com/issue9/upload