Versions in this module Expand all Collapse all v1 v1.0.1 Feb 18, 2022 v1.0.0 Feb 18, 2022 Changes in this version + func DecodingBinaryToImage(b []byte) (img image.Image, err error) + func EncodingImageToBase64StrForJpeg(img image.Image, quality int) string + func EncodingImageToBase64StrForPng(img image.Image) string + func EncodingImageToBinaryWithJpeg(img image.Image, quality int) (ret []byte) + func EncodingImageToBinaryWithPng(img image.Image) (ret []byte) + func GenCaptchaKey(str string) (string, error) + func GenUniqueId() string + func GetRandomColorValueByRGBA(cs []color.Color) color.RGBA + func GetRandomStringValue(s []string) string + func GetRootDirectory() string + func Md5ToStr(str string) string + func ParseHexColorToRGBA(s string) (c color.RGBA, err error) + func PathExists(path string) (bool, error) + func RandInt(min, max int) int + func RandomCreateSimplifyZHCNUnicode() (string, string) + func RandomCreateZHCNUnicode() (string, string)