(file string)
| 29 | } |
| 30 | |
| 31 | func trimGoPath(file string) string { |
| 32 | for _, p := range filepath.SplitList(build.Default.GOPATH) { |
| 33 | file = strings.Replace(file, filepath.Join(p, "src")+string(filepath.Separator), "", 1) |
| 34 | } |
| 35 | return file |
| 36 | } |
| 37 | |
| 38 | // line returns the line number of source code of the |
| 39 | // function for this Frame's pc. |
no outgoing calls
no test coverage detected
searching dependent graphs…