add: logparser v5 shared record

This commit is contained in:
Inanc Gumus
2019-08-29 01:32:25 +03:00
parent 81b4246973
commit 4910370808
9 changed files with 116 additions and 24 deletions

View File

@ -12,6 +12,7 @@ import (
)
// GroupFunc represents a grouping func that returns a grouping key.
// The type alias frees us from binding to a named type.
type GroupFunc = func(Record) (key string)
// Group records by a key.