mirror of
https://gitee.com/dromara/mayfly-go
synced 2026-04-25 13:45:18 +08:00
refactor: 注释优化
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user