06 2020 档案

摘要:摘自这里 /sys/class/net/network-interface/statistics root@Dev[09:41:51]$ ll /sys/class/net/eth0/statistics total 0 -r--r--r-- 1 root root 4096 Jun 29 14:5 阅读全文
posted @ 2020-06-30 09:55 RainingInMacondo 阅读(325) 评论(0) 推荐(0) 编辑
摘要:golang多协程并发工作 package main import ( "fmt" "log" "os" "sync" "time" ) type Task struct { Name string Age int } func work(wg *sync.WaitGroup, jobs chan 阅读全文
posted @ 2020-06-09 17:11 RainingInMacondo 阅读(936) 评论(0) 推荐(1) 编辑
摘要:模拟beego登陆 package main import ( "fmt" "time" "io/ioutil" "net/url" "net/http" "net/http/cookiejar" ) func main() { now := time.Now() var err error var 阅读全文
posted @ 2020-06-09 16:47 RainingInMacondo 阅读(212) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示