摘要:
Go Slice踩坑 Go中的slice内部是实现的如下: type slice struct { array unsafe.Pointer // 底层数组指针 len int // 使用的长度 cap int // slice 容量 } 踩坑代码如下: 操作数据库代码: func (m *moni 阅读全文
摘要:
winsta0,session,desktop,winlogon,default A window station is an object that contains a clipboard, a set of global atoms and a group of desktop objects 阅读全文
摘要:
Go 操作数据库尝鲜 以下代码为go链接mysql操作mysql的部分代码 package main import ( "database/sql" "fmt" _ "github.com/go-sql-driver/mysql" ) type User struct{ ID int64 Name 阅读全文
摘要:
MySQL登录错误 ERROR 1045 (28000): Plugin caching_sha2_password could not be loaded MySQL版本 Server version: 8.0.22 MySQL Community Server - GPL Docker启动MyS 阅读全文
摘要:
记关于WIndow Server 2012 一次时间同步 Windows Server 2012的时间不一致,需要同步时间,按照正常设置,使用Internet时间同步time.windows.com,同步失败。使用阿里云服务其也失败。这里失败的原因主要是网络限制。 然后改用域控的时间同步地址,发现也 阅读全文