文章分类 - Go
摘要:func StructPtr(s ST_LOGIN_PARAM) uintptr { stl := new(ST_LOGIN_PARAM) stl = &s stl2 := unsafe.Pointer(stl) return uintptr(stl2) }
阅读全文
摘要:问题: dlv-dap.exe dap --check-go-version=false --listen=127.0.0.1:62068 from h:\go\go-03 DAP server listening at: 127.0.0.1:62068 Build Error: go build
阅读全文
摘要:go语言可以把任何类型作为返回值,包括函数 比如 func func1(a int) func(){ /* 函数主体 */ }
阅读全文
摘要:go 开发环境下载 https://gomirrors.org/ 开发环境部署 1. 替换默认地址为国内代理地址 go env -w GOPROXY=https://goproxy.cn 参考文档: 解决go包管理代理网址无法访问:proxy.golang.org
阅读全文

浙公网安备 33010602011771号