Documentation ¶
Index ¶
- func GetWebPageBodyReader(u string) (r io.Reader, err error)
- func GetWegPageDOM(u string) (node *html.Node, err error)
- func RequestGet(u string) (resp *http.Response, err error)
- func SimilarSlice(a, b []string) (i int)
- func StringInSlice(s string, ss []string) bool
- func StringSliceEqual(a, b []string) bool
- func TupleSlice(a []string) []string
- func U8ToGBK(a string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetWebPageBodyReader ¶ added in v0.1.3
func SimilarSlice ¶
SimilarSlice 对比两个字符串组,得到其中相等字符串的数量,"i < len(a)" and "i < len(b)"
func StringInSlice ¶
StringInSlice string in []stirng like python "if a in b" keyword
func StringSliceEqual ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.