Removing obsolete comment
This commit is contained in:
parent
9210671236
commit
cffe643a51
|
@ -184,7 +184,6 @@ func ReportLines() []string {
|
||||||
|
|
||||||
lines = append(lines, fmt.Sprintf("=== Tracked connections report %s (total: %d) ===", now.Format("01-02-2006 15:04:05"), len(items)))
|
lines = append(lines, fmt.Sprintf("=== Tracked connections report %s (total: %d) ===", now.Format("01-02-2006 15:04:05"), len(items)))
|
||||||
for idx, item := range items {
|
for idx, item := range items {
|
||||||
//TODO: obtain somehow an actual pointer of the object or provide a hook for a custom formatter
|
|
||||||
lines = append(lines, fmt.Sprintf("#%d Tracked (%v %p%s duration %v) : %s", idx+1, reflect.TypeOf(item.Obj), item.Obj, customFormatter(&item), item.Duration, item.Stack))
|
lines = append(lines, fmt.Sprintf("#%d Tracked (%v %p%s duration %v) : %s", idx+1, reflect.TypeOf(item.Obj), item.Obj, customFormatter(&item), item.Duration, item.Stack))
|
||||||
}
|
}
|
||||||
return lines
|
return lines
|
||||||
|
|
Loading…
Reference in New Issue