Compare commits
No commits in common. "1c0579d06519314ba68d43d1210dec1324bf54a3" and "c63cd5fb0ed60fd7e39da2465fed04d6381efd20" have entirely different histories.
1c0579d065
...
c63cd5fb0e
4
pkg.go
4
pkg.go
@ -21,8 +21,8 @@ var (
|
|||||||
baseDirLength int
|
baseDirLength int
|
||||||
)
|
)
|
||||||
|
|
||||||
func Init() {
|
func init() {
|
||||||
_, file, _, _ := runtime.Caller(1)
|
_, file, _, _ := runtime.Caller(0)
|
||||||
fmt.Printf("--\nWRAPPED_ERROR: %s\n--\n", file)
|
fmt.Printf("--\nWRAPPED_ERROR: %s\n--\n", file)
|
||||||
dir := path.Dir(file)
|
dir := path.Dir(file)
|
||||||
dirBase := path.Dir(dir)
|
dirBase := path.Dir(dir)
|
||||||
|
Loading…
Reference in New Issue
Block a user