refactor: 注释优化

This commit is contained in:
meilin.huang
2026-02-10 18:12:41 +08:00
parent 9bb9861d88
commit f91b89f38a
21 changed files with 57 additions and 57 deletions

View File

@@ -9,8 +9,8 @@ import (
// StackStr 获取指定堆栈描述信息
//
// @param skip: 跳过堆栈个数
// @param nFrames: 需要描述的堆栈个数
// - skip: 跳过堆栈个数
// - nFrames: 需要描述的堆栈个数
func StackStr(skip, nFrames int) string {
pcs := make([]uintptr, nFrames+1)
n := runtime.Callers(skip+1, pcs)