摘要: [golang][译]使用os/exec执行命令 https://colobu.com/2017/06/19/advanced-command-execution-in-Go-with-os-exec/ 原文: Advanced command execution in Go with os/exe 阅读全文
posted @ 2019-09-25 14:18 landv 阅读(4230) 评论(0) 推荐(0) 编辑
摘要: DNS (Domain Name System 的缩写)的作用非常简单,就是根据域名查出IP地址。 域名系统(通常被称为“DNS”)是一个网络系统,允许我们把对人类友好的名称解析为唯一的地址。 Internet 上的所有计算机,从您的智能手机或笔记本电脑到可提供大量零售网站内容的服务器,均通过使用编 阅读全文
posted @ 2019-09-25 11:25 landv 阅读(1905) 评论(0) 推荐(0) 编辑
摘要: 许多新手开发人员在处理时区时感到困惑。 如何将它们存储在数据库中 如何在Go中解析它们 当将时区存储在数据库中时,请始终遵循一个标准时区,理想的做法是保存UTC时间,并在显示时区时根据需要将其转化为各种时区。 以MYSQL作为存储时间的示例 以下解决方案与DB无关。根据MySQL文档,有两种可以在M 阅读全文
posted @ 2019-09-25 09:58 landv 阅读(1580) 评论(0) 推荐(0) 编辑
摘要: A modern, fast and scalable websocket framework with elegant API written in Go http://bit.ly/neffos-wiki https://github.com/kataras/neffos About neffo 阅读全文
posted @ 2019-09-25 09:33 landv 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 1. Go 搭建的高效网页爬虫:https://creekorful.me/building-fast-modern-web-crawler/ 2. Go 时区处理:https://medium.com/@kamal.g.namdeo/handling-timezone-in-go-723b1e38 阅读全文
posted @ 2019-09-25 09:06 landv 阅读(142) 评论(0) 推荐(0) 编辑