Compare commits
3 commits
c63cd5fb0e
...
1c0579d065
Author | SHA1 | Date | |
---|---|---|---|
1c0579d065 | |||
015167f4a3 | |||
c73070d69a |
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(0)
|
||||
func Init() {
|
||||
_, file, _, _ := runtime.Caller(1)
|
||||
fmt.Printf("--\nWRAPPED_ERROR: %s\n--\n", file)
|
||||
dir := path.Dir(file)
|
||||
dirBase := path.Dir(dir)
|
||||
|
|
Loading…
Add table
Reference in a new issue