Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateImage ¶
func ValidateImage(ctx context.Context, file *multipart.FileHeader, maxSize int) ([]byte, *string, error)
ValidateImage 拡張子やファイルサイズなどの画像のバリデーションを行う
Types ¶
type ImageInfo ¶
type ImageInfo struct {
// contains filtered or unexported fields
}
func NewImageInfo ¶
func (*ImageInfo) ContentType ¶
func (*ImageInfo) ImageReader ¶
Click to show internal directories.
Click to hide internal directories.