Documentation ¶
Index ¶
- func ExtractThumbnail(data []byte) ([]byte, error)
- func FileNameExceptExt(p string) string
- func IncrementFileNameSuffix(p string) string
- func LocalTime(tm time.Time, tz string) (time.Time, error)
- func MD5(val string) string
- func MD5Bytes(val []byte) string
- func MustLoadLocation(loc string) *time.Location
- func MustLocalTime(tm time.Time, tz string) time.Time
- func ParseAuthHeader(header, authType string) (string, bool)
- func ParseDatetime(val string, loc *time.Location) (time.Time, error)
- func RemoveTrailingSlash(url string) string
- func SplitPath(path string) []string
- type ExifItem
- type ExifItemList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractThumbnail ¶
func FileNameExceptExt ¶
func IncrementFileNameSuffix ¶
func MustLoadLocation ¶
func ParseAuthHeader ¶
func RemoveTrailingSlash ¶
Types ¶
type ExifItem ¶
type ExifItem struct { IfdPath string TagId uint16 TagName string TagTypeId exifcommon.TagTypePrimitive TagTypeName string UnitCount uint32 Value interface{} ValueString string }
type ExifItemList ¶
type ExifItemList []*ExifItem
func ParseExifItemsAll ¶
func ParseExifItemsAll(data []byte) (ExifItemList, error)
Click to show internal directories.
Click to hide internal directories.