module
Version:
v0.5.7
Opens a new window with list of versions in this module.
Published: Sep 28, 2023
License: Apache-2.0
Opens a new window with license information.
README
¶
📖 简介
Go Reference
![Go Reference](https://pkg.go.dev/badge/github.com/soulnov23/go-tool.svg)
工程规范
https://github.com/golang-standards/project-layout/blob/master/README_zh.md
编码规范
https://github.com/golang/go/wiki/CodeReviewComments
🚀 功能
debug
curl -v 'http://127.0.0.1:6060/debug/pprof/profile?seconds=30' > profile.tar.gz
curl -v 'http://127.0.0.1:6060/debug/pprof/heap?seconds=30' > head.tar.gz
curl -v 'http://127.0.0.1:6060/debug/pprof/goroutine?seconds=30' > goroutine.tar.gz
yum install -y graph
go tool pprof -http 0.0.0.0:9999 profile.tar.gz
go tool pprof -http 0.0.0.0:9999 head.tar.gz
go tool pprof -http 0.0.0.0:9999 goroutine.tar.gz
go tool pprof -http 0.0.0.0:9999 'http://127.0.0.1:6060/debug/pprof/profile?seconds=30'
go tool pprof -http 0.0.0.0:9999 'http://127.0.0.1:6060/debug/pprof/heap?seconds=30'
go tool pprof -http 0.0.0.0:9999 'http://127.0.0.1:6060/debug/pprof/goroutine?seconds=30'
💡 流程
🧰 安装
⚙️ 设置
🧲 效果
📚 链接
Directories
¶
|
Package main 应用程序 |
|
|
pkg
|
|
|
|
|
|
|
|
|
|
|
Package json |
|
Package linkedlist 使用链表实现 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.