diff --git a/doc.go b/doc.go new file mode 100644 index 0000000..69b86cd --- /dev/null +++ b/doc.go @@ -0,0 +1,4 @@ +// Package parser provides utilities to read and parse logs from various inputs (standard input, plain text, gzip, zip) +// and convert them to structured formats such as JSON and LTSV. It is simple yet sophisticated, filtering by labels, +// extracting rows by filter expressions, aggregating results, and applying custom conversion functions. +package parser diff --git a/parser_core.go b/parser_core.go index bb347e0..d52da3a 100644 --- a/parser_core.go +++ b/parser_core.go @@ -1,6 +1,3 @@ -// Package parser provides utilities for parsing various types of logs (plain text, gzip, zip) -// and converting them into structured formats such as JSON or LTSV. It supports pattern matching, -// result extraction, and error handling to facilitate log analysis and data extraction. package parser import (