mirror of
https://gitee.com/johng/gf
synced 2026-07-04 21:03:13 +08:00
add package gdebug; improve gconv/gfile/gset
This commit is contained in:
11
.example/debug/gdebug/gdebug.go
Normal file
11
.example/debug/gdebug/gdebug.go
Normal file
@ -0,0 +1,11 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/gogf/gf/debug/gdebug"
|
||||
)
|
||||
|
||||
func main() {
|
||||
fmt.Println(gdebug.CallerPackage())
|
||||
fmt.Println(gdebug.CallerFunction())
|
||||
}
|
||||
Reference in New Issue
Block a user