ZhangZhihui's Blog |
|
||
2023年12月5日
摘要:
package main import ( "fmt" "golang.org/x/crypto/bcrypt" ) func main() { password := "abcdef" hashedPassword1, _ := bcrypt.GenerateFromPassword([]byte 阅读全文
摘要:
将一时间戳字段默认值设为0001-01-01 00:00:00 UTC,在timezone为东8区的数据库中字段值显示为: 0001-01-01 08:05:43+08:05:43 Google后找到如下解释: 0001-01-01 00:00:00 UTC. And that is indeed 阅读全文
|
Copyright © 2024 ZhangZhihuiAAA
Powered by .NET 9.0 on Kubernetes |