Documentation ¶
Index ¶
- Variables
- func CheckExist(path string) bool
- func Chk(err error)
- func CopyFile(source, target string) bool
- func CreateImg(fileAddress1, fileAddress2, createAddress string) error
- func CreateQrCode(fileName, content string)
- func DelFile(s string)
- func Delete(key string)
- func DuplicateIntArray(m []int) []int
- func DuplicateInterface(data []interface{}) []interface{}
- func DuplicateStringArray(m []string) []string
- func ExistIntArray(s []int, e int) bool
- func ExistInterface(s []interface{}, e interface{}) bool
- func ExistStringArray(s []string, e string) bool
- func GenerateCode() string
- func Get(key string) interface{}
- func GetCurrentDir() string
- func GetDifferentIntArray(sourceList, sourceList2 []int) (result []int)
- func GetDifferentStringArray(sourceList, sourceList2 []string) (result []string)
- func GetHmacSha256Str(s string, key string) string
- func GetMd5Str(salt string) func(string) string
- func GetParentDir(dirctory string) string
- func GetSha1Str(salt string) func(string) string
- func GetSha256Str(salt string) func(string) string
- func Int64ConvertToTime(intTime int64) time.Time
- func LoadQrCode(fileName, content string)
- func Lottery(a int) string
- func Md5(b []byte) []byte
- func MergeDuplicateIntArray(slice []int, elems []int) []int
- func MergeDuplicateStringArray(slice []string, elems []string) []string
- func Panic(p interface{}) (err error)
- func ParisMap_Del(key string)
- func ParisMap_DelAll()
- func ParisMap_Get(key string) interface{}
- func ParisMap_Put(key string, value interface{})
- func ParseCurrentMonday(t time.Time) time.Time
- func ParseFirstDayOfMonthMorning(t time.Time) time.Time
- func ParseHourTimeToInt64() int64
- func ParseMorningTime(t time.Time) time.Time
- func ParseSecondTimeToInt64() int64
- func ParseTimeByTimeStr(str, errPrefix string) (time.Time, error)
- func ParseTimeToString(intTime int64, strfmt ...string) string
- func ParseTimeToYearMonthDay(time time.Time) string
- func ParseYesterdayTime(t ...time.Time) time.Time
- func Pause()
- func PrintCommand(command string)
- func PrintJson(any ...interface{})
- func Put(key, value string)
- func RegexpToken(token string) (bool, error)
- func SendEmail(msg *EmailMsg, emailConfig *EmailConfig) error
- func Sha1(b []byte) []byte
- func Sha256(b []byte) []byte
- func Tick32(t ...time.Time) int32
- func Tick64(t ...time.Time) int64
- func ToJsonString(v interface{}) (string, error)
- type EmailConfig
- type EmailMsg
- type Memory
- type MemoryItem
Constants ¶
This section is empty.
Variables ¶
View Source
var PariMap = make(map[string]interface{})
键值对
Functions ¶
func GetDifferentIntArray ¶
数组取出不同元素 放入结果 sourceList中的元素不在sourceList2中 则取到result中
func GetDifferentStringArray ¶
数组取出不同元素 放入结果 sourceList中的元素不在sourceList2中 则取到result中
func GetHmacSha256Str ¶
func GetSha1Str ¶
func GetSha256Str ¶
func MergeDuplicateStringArray ¶
合并两个字符串数组并去重
func ParisMap_Del ¶
func ParisMap_Del(key string)
func ParisMap_DelAll ¶
func ParisMap_DelAll()
func ParisMap_Get ¶
func ParisMap_Get(key string) interface{}
func ParisMap_Put ¶
func ParisMap_Put(key string, value interface{})
func ParseTimeByTimeStr ¶
时间转换 将1993-12-26 10:30:00转换为time
func ParseTimeToString ¶
把int64转换成1993-12-26 10:30:00
Types ¶
type EmailConfig ¶
type MemoryItem ¶
Click to show internal directories.
Click to hide internal directories.