Documentation
¶
Index ¶
- func DeleteCache(key string)
- func DriverDigitFunc() (id, b64s string, err error)
- func DriverStringFunc() (id, b64s string, err error)
- func Fetch(url string) ([]byte, error)
- func FormatPager(page, size string) (int, int)
- func GetCache(key string) (interface{}, bool)
- func GetGuid() string
- func GetLocation(ip string) string
- func GetRequest(url string) ([]byte, error)
- func GetUUID() uuid.UUID
- func PageHtml(url string, page, size, count int) string
- func PageWebHtml(url string, page, size, count int) string
- func PostRequest(url, parameter string) ([]byte, error)
- func RandomInt(n int) string
- func RandomString(n int) string
- func RemoveDuplicateElement(items []string) []string
- func SetCache(key string, data interface{}, timeout int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteCache ¶
func DeleteCache(key string)
func GetLocation ¶
func PageWebHtml ¶
func RandomString ¶
func RemoveDuplicateElement ¶ added in v0.0.4
Slice去重
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.