(c *Call)
| 65 | var reMethodSymbol = regexp.MustCompile(`^\(\*?([^)]+)\)(\..+)$`) |
| 66 | |
| 67 | func funcClass(c *Call) template.HTML { |
| 68 | if c.Func.IsPkgMain { |
| 69 | return "FuncMain Exported" |
| 70 | } |
| 71 | s := c.Location.String() |
| 72 | if c.Func.IsExported { |
| 73 | s += " Exported" |
| 74 | } |
| 75 | /* #nosec G203 */ |
| 76 | return template.HTML("Func") + template.HTML(template.HTMLEscapeString(s)) |
| 77 | } |
| 78 | |
| 79 | func minus(i, j int) int { |
| 80 | return i - j |
nothing calls this directly
no test coverage detected
searching dependent graphs…