Remove pointer receiver from method signature

method does not need to modify caller
This commit is contained in:
Lorenzo Manacorda
2016-09-19 16:32:30 +02:00
parent 3050020359
commit d4aff3bac9

View File

@@ -142,7 +142,7 @@ func (t *EbpfTracker) run() {
}
// WalkEvents - walk through the connectionEvents
func (t *EbpfTracker) WalkEvents(f func(ConnectionEvent)) {
func (t EbpfTracker) WalkEvents(f func(ConnectionEvent)) {
for _, event := range t.Events {
f(event)
}