Files
marka/parser/parser.go
2025-08-17 00:46:45 +02:00

16 lines
237 B
Go

package parser
func Parse(blocks []MatchBlock) map[string]any {
result := make(map[string]any)
for _, b := range blocks {
input := b.GetContent()
key, value, _ := b.Block.Parse(input)
result[key] = value
}
return result
}