随笔分类 -  go

摘要:参考 golang pprof 实战 实用go pprof使用指南 安装视图比对工具 yum install graphviz flat:表示在整个分析过程中,该函数被调用的次数。它是一个绝对值,表示函数被调用的总次数。 flat%:表示flat值占整个分析过程中的总调用次数的百分比。它是一个相对值 阅读全文
posted @ 2023-11-05 10:06 林夕之风 阅读(52) 评论(0) 推荐(0) 编辑
摘要:需求: 从github拉取代码后需要2次开发 //首先从git拉下原始的module go mod download github.com/bndr/gojenkins@v1.1.0 //去 GOMODCACHE拷贝到自己module存放位置// 这里存放在项目里 D:\JetBrains\Gola 阅读全文
posted @ 2023-05-31 15:31 林夕之风 阅读(131) 评论(0) 推荐(0) 编辑
摘要:https://www.topgoer.com/ https://studygolang.com/ https://pkg.go.dev/ https://golang.google.cn/doc/ https://golang.halfiisland.com/ 项目目录结构 https://git 阅读全文
posted @ 2023-05-29 17:25 林夕之风 阅读(38) 评论(0) 推荐(0) 编辑
摘要:https://www.jetbrains.com/go/download/other.html go env -w GOPROXY=https://goproxy.cn,direct go env -w GOMODCACHE=D:\JetBrains\go\pkg\mod go env -w GO 阅读全文
posted @ 2023-05-26 13:27 林夕之风 编辑

点击右上角即可分享
微信分享提示