Documentation ¶
Index ¶
- 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[T comparable](arr []T, val T) bool
- func NoInArrEleMent[T comparable](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[T comparable](arr []T) []T
- type Claims
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadFile ¶
func GetOutNetIp ¶
func GetOutNetIp() string
func IsNoInArrEleMent ¶
func IsNoInArrEleMent[T comparable](arr []T, val T) bool
func NoInArrEleMent ¶
func NoInArrEleMent[T comparable](arr []T, ele []T) []T
generic NoInArrEleMent
func ObjectAssignBySameTypeName ¶
func ObjectAssignBySameTypeName(in, out interface{}) interface{}
func PathExists ¶
func RemoveDuplicateInt64Slice ¶
RemoveDuplicateInt64Slice 数组去重 int64
func RemoveDuplicateStringSlice ¶
RemoveDuplicateStringSlice 数组去重 string
func RemoveFile ¶
func ReverseString ¶
func SaveUploadfile2TmpFile ¶
func StringArrToString ¶
func UniqueEleMent ¶
func UniqueEleMent[T comparable](arr []T) []T
Types ¶
Click to show internal directories.
Click to hide internal directories.