Documentation ¶
Overview ¶
*------------------------------------------------------------**
- @filename string/format.go
- @author jinycoo
- @version 1.0.0
- @date 2019-07-25 16:55
- @desc string - format **------------------------------------------------------------*
*------------------------------------------------------------**
- @filename cstring/
- @author jinycoo
- @version 1.0.0
- @date 2019-08-02 16:14
- @desc cstring - **------------------------------------------------------------*
*------------------------------------------------------------**
- @filename cstring/
- @author jinycoo
- @version 1.0.0
- @date 2019-08-02 16:17
- @desc cstring - **------------------------------------------------------------*
*------------------------------------------------------------**
- @filename cstring/
- @author jinycoo
- @version 1.0.0
- @date 2019-08-02 16:15
- @desc cstring - **------------------------------------------------------------*
*------------------------------------------------------------**
- @filename string/string.go
- @author jinycoo
- @version 1.0.0
- @date 2019-07-31 11:41
- @desc string - string **------------------------------------------------------------*
Index ¶
- func Atoi(b []byte) (int, error)
- func BytesToString(b []byte) string
- func ContainsPunct(body, excludes string) (rs bool)
- func FirstTitle(str string) string
- func GenEmailStar(email string) (xemail string)
- func IsEmailValid(e string) bool
- func IsMobileValid(mobile string) (b bool)
- func IsUrlValid(url string) (b bool)
- func LastChar(str string) uint8
- func ParseFloat(b []byte, bitSize int) (float64, error)
- func ParseInt(b []byte, base int, bitSize int) (int64, error)
- func ParseUint(b []byte, base int, bitSize int) (uint64, error)
- func Sprint(template string, args ...interface{}) (message string)
- func StringToBytes(s string) []byte
- func ToLower(s string) string
- func UBytesToString(b []byte) string
- func UStringToBytes(s string) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToString ¶
func ContainsPunct ¶
func FirstTitle ¶
func GenEmailStar ¶
func IsEmailValid ¶
func StringToBytes ¶
func UBytesToString ¶
BytesToString converts byte slice to string.
func UStringToBytes ¶
StringToBytes converts string to byte slice.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.