Documentation ¶
Index ¶
- func RandomStr(length int) string
- type Field
- func (a *Field) CheckFieldSize() bool
- func (a *Field) CheckImage() error
- func (a *Field) CheckImageExt() bool
- func (a *Field) CheckImageSize() bool
- func (a *Field) GetFieldName() string
- func (a *Field) GetFieldPath() string
- func (a *Field) GetName() string
- func (a *Field) GetPath() string
- func (a *Field) GetType() string
- func (a *Field) GetUrl() string
- func (a *Field) ImagesSave()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Field ¶
type Field struct { Usdb model.SysMember Field multipart.File Header *multipart.FileHeader Size int64 Path string Url string Name string }
func (*Field) CheckFieldSize ¶
func (*Field) GetFieldName ¶
func (*Field) ImagesSave ¶
func (a *Field) ImagesSave()
Click to show internal directories.
Click to hide internal directories.