feat: implement new generic parser and improve production readyness
This commit is contained in:
parent
8364218234
commit
0830b403e0
34 changed files with 1715 additions and 2114 deletions
|
|
@ -1,11 +1,9 @@
|
|||
package parser
|
||||
|
||||
import (
|
||||
"tixel_watch/models"
|
||||
"watch-tool/models"
|
||||
)
|
||||
|
||||
type Parser interface {
|
||||
//TODO: Change parsers to return an error as well
|
||||
Parse(line string) (models.LogMessage, error)
|
||||
// Parse(line string) models.LogMessage
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue