06091ff42c30e987c45512895c0177541e3a463a
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
feat(item_buy): 优化购买逻辑并添加库存限制功能 - 将变量名 is 改为 ok,提高代码可读性 - 移除未使用的变量 addSuccess - 重构购买成功逻辑,确保物品添加成功后才扣减金币 - 在 talk.go 中修改判断条件,使用 Limit 字段而非 Type 字段 - 在 user_talk.go 中添加 Limit 字段用于限制数量配置 ```
blazing
这是骄阳号开发团队的开源项目,请勿用于商业用途。 在软件开发中,repo、impl、mapper 和 model 是常见的分层架构组件
项目介绍
seer-project
项目结构:
go tool pprof -http :8081 "http://127.0.0.1:9909/debug/pprof/profile"
go tool pprof -http :8081 "http://202.189.15.67:62672/debug/pprof/profile" go tool pprof -http :8081 "http://8.162.8.203:9909/debug/pprof//profile" go tool pprof -http :8081 "http://8.162.23.87:9910/debug/pprof//profile" go tool pprof -http :8081 "http://61.147.247.7:36855/debug/pprof/profile" go tool pprof -http :8081 "http://61.147.247.7:43892/debug/pprof/profile"
采样 60 秒的 CPU 数据,然后通过 HTTP 8081 端口可视化
go tool pprof -http :8081 "http://61.147.247.7:43892/debug/pprof/profile?seconds=300" 详情查看 文档
Description
Languages
GO
100%