Versions in this module Expand all Collapse all v0 v0.19.4 May 24, 2023 Changes in this version + func AddUploadContext(ctx *context.Context, uploadType string) + func IsErrFileTypeForbidden(err error) bool + func Verify(buf []byte, fileName, allowedTypesStr string) error + type ErrFileTypeForbidden struct + Type string + func (err ErrFileTypeForbidden) Error() string