pu369com

2020年6月4日

go 获取沪深A股代码

摘要: package main import ( "fmt" "io" "io/ioutil" "net/http" "regexp" "strconv" "strings" "github.com/PuerkitoBio/goquery" "golang.org/x/text/encoding/simp 阅读全文

posted @ 2020-06-04 19:37 pu369com 阅读(339) 评论(0) 推荐(0) 编辑

golang实现unicode码和中文之间的转换

摘要: package main import ( "fmt" "strconv" "strings" ) func main() { sText := "中文" textQuoted := strconv.QuoteToASCII(sText) textUnquoted := textQuoted[1 : 阅读全文

posted @ 2020-06-04 15:54 pu369com 阅读(1252) 评论(0) 推荐(0) 编辑

导航