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,10 +12,10 @@ package pipe
// For example: It returns the page field as well.
// Exercise: Write a solution that removes the unnecessary data.
func DomainGrouper(r Record) string {
return r.Domain
return r.domain
}
// Page groups records by page.
func Page(r Record) string {
return r.Domain + r.Page
return r.domain + r.page
}