Versions in this module Expand all Collapse all v0 v0.0.6 Aug 3, 2022 Changes in this version + var ErrNotFound = errors.New("not found") + func ResetName(name string) string + func SetPath(path ...string) string + type Option func(o *Options) + func WithContext(c context.Context) Option + type Options struct + Context context.Context + type Resource struct + Ext string + File string + Host string + Name string + Path string + Size int64 + Url *url.URL + type Storage interface + Delete func(string) error + String func() string + Upload func(*multipart.FileHeader, ...string) (*Resource, error) + func NewNoop() Storage