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