12 2017 档案
摘要:1. 时间类型转换为字符串类型 now := time.Now() fmt.Println(now.Format("2006-01-02 03:04:05 PM")) yesterday := time.Now().AddDate(0,0,-1).Format("2006-01-02") 2. go
阅读全文
摘要:1. 使用supervisorctl时报“http://localhost:9001 refused connection”错误 解决方法:使用supervisorctl时指定配置文件 # supervisorctl -c /etc/supervisor.conf 2. 重启supervisord
阅读全文