Versions in this module Expand all Collapse all v1 v1.0.2 Nov 1, 2023 Changes in this version + func ConvertDollarLatexToHTML(text string) string + func ConvertDollarLatexToLaTeX(text string) string + func ConvertHTMLTODollarLatex(text string) string + func DownloadFile(urlPath string) (string, error) + func GenItemId(teachingId int64, id int64) int64 + func GenQuestionAnswerId(teachingId int64, id int64) int64 + func GetOutNetIp() string + func Int642String(i int64) string + func IsNoInArrEleMent(arr []T, val T) bool + func NoInArrEleMent(arr []T, ele []T) []T + func ObjectAssignBySameTypeName(in, out interface{}) interface + func PathExists(path string) (bool, error) + func ReadExcel(filename string) ([][]string, error) + func RemoveDuplicateInt64Slice(languages []int64) []int64 + func RemoveDuplicateStringSlice(languages []string) []string + func RemoveFile(path string) error + func ReverseString(s []string) []string + func SaveUploadFileToLocalPath(file multipart.File, handler *multipart.FileHeader) (string, error) + func SaveUploadfile2TmpFile(file multipart.File, handler *multipart.FileHeader) (string, error) + func String2Int32(s string) (int32, error) + func String2Int64(s string) (int64, error) + func StringArrToString(s []string) string + func UniqueEleMent(arr []T) []T + type Claims struct + Platform string + UID string + func BuildClaims(uid, platform string, ttl int64) Claims