20 lines
284 B
Go
20 lines
284 B
Go
package utils
|
|
|
|
import "strconv"
|
|
|
|
func FormatFileSize(fileSize int64) string {
|
|
return strconv.FormatInt(fileSize>>30, 10)
|
|
}
|
|
|
|
func GetIp() string {
|
|
return ""
|
|
}
|
|
|
|
func SendEmailApi(email, xx, content, title string) {
|
|
|
|
}
|
|
|
|
func InArray(ext string, safeExt []string) bool {
|
|
return true
|
|
}
|