diff --git a/internal/utils/utils_debug.go b/internal/utils/utils_debug.go index f28ab36d0..6b46503bd 100644 --- a/internal/utils/utils_debug.go +++ b/internal/utils/utils_debug.go @@ -11,8 +11,12 @@ import ( ) const ( - commandEnvKeyForDebugKey = "gf.debug" // Debug key for checking if in debug mode. - StackFilterKeyForGoFrame = "github.com/gogf/gf@" // Stack filtering key for all GoFrame module paths. + // Debug key for checking if in debug mode. + commandEnvKeyForDebugKey = "gf.debug" + + // StackFilterKeyForGoFrame is the stack filtering key for all GoFrame module paths. + // Eg: .../pkg/mod/github.com/gogf/gf/v2@v2.0.0-20211011134327-54dd11f51122/debug/gdebug/gdebug_caller.go + StackFilterKeyForGoFrame = "github.com/gogf/gf/v" ) var (