
mysql
cielu
这个作者很懒,什么都没留下…
展开
-
golang 从数据获取时间进行友好时间处理
直接上代码FriendlyTime.gopackage toolsimport ( "fmt" "math" "time")// Custom format friendly timetype FriendlyTime string// Scan value of time.Timefunc (t *FriendlyTime) Scan(v interface{}) error { value, ok := v.(time.Time) if ok { var tm.原创 2020-09-11 10:06:51 · 434 阅读 · 0 评论 -
Mysql底层学习笔记-从入门到精通(字符集篇)
重要字符集记录:ASCII字符集 ISO 8859-1字符集 GB2312字符集 GBK字符集 utf8字符集 utf8mb4字符集原创 2020-07-18 00:45:02 · 226 阅读 · 0 评论