Versions in this module Expand all Collapse all v1 v1.0.10 Oct 16, 2022 v1.0.9 Oct 15, 2022 Changes in this version + const SPLIT_CHAR + func Dcm4cheDateTimeDecode(dateStr, timeStr string) (t1 time.Time, err error) + func DecodeCachePathImage(str string) (cache global.CachePathImage) + func DecodeCachePathVideo(str string) (cache global.CachePathVideo) + func DownloadImage(u, targetType string) (bs []byte, err error) + func EncodeCachePathImage(cache global.CachePathImage) string + func EncodeCachePathVideo(cache global.CachePathVideo) string + func FfProbe(input string) (data string, err error) + func GenerateVideoFromFrames(root, instanceId, fnVideo string) error + func GenerateVideoFromImage(imagePath, videoPath string) error + func IdStrCheckId(idStr, id string) bool + func IdStrDecodeInt(str string) []int + func IdStrDecodeString(str string) []string + func IdStrEncodeInt(data []int) string + func IdStrEncodeString(strs []string) string + func IdStrInsertIdInt(joinStr string, id int) (result string, err error) + func IdStrInsertIdStr(joinStr, id string) (result string, cnt int, err error) + func IdStrRemoveIdStr(idstr, id string) (idstrNew string, cnt int, err error) + func ImageGenerateThumbnail(fpath string, im image.Image, thumbSize int) error + func MediaGetDuration(fullpath string) (d float64, err error) + func SaveToFile(fn string, data []byte) error + func TimeDecode(t int64) time.Time + func TimeEncode(t time.Time) int64 + func TimeEncodeNow() int64 + func TimeEncodeString(ts string) int64