摘要:
阅读全文
摘要:
https://www.roguelynn.com/words/asyncio-we-did-it-wrong/ 阅读全文
摘要:
var result = null; var xhr = new XMLHttpRequest(); xhr.onreadystatechange = function() { if (xhr.readyState == 4 && xhr.status == 200) { result = xhr. 阅读全文
摘要:
http://json2struct.mervine.net/ 阅读全文
摘要:
var DB *sql.DB func InitDB(){ path := strings.Join([]string{USERNAME, ":", PASSWORD, "@tcp(",HOST, ":", PORT, ")/", DBNAME, "?charset=utf8"}, "") DB, 阅读全文
摘要:
var wg sync.WaitGroup func WaitGroupStart(url string) { start := time.Now() wg.Add(10) for i := 0; i < 10; i++ { go func(i int) { defer wg.Done() Spid 阅读全文