diff --git a/res_tracker.go b/res_tracker.go index cc03899..a6e4152 100644 --- a/res_tracker.go +++ b/res_tracker.go @@ -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))) 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)) } return lines