github.com/lmorg/murex@v0.0.0-20240217211045-e081c89cd4ef/builtins/types/apachelogs/map.go (about) 1 //go:build ignore 2 // +build ignore 3 4 package apachelogs 5 6 /* 7 import ( 8 "bufio" 9 "github.com/lmorg/apachelogs" 10 "github.com/lmorg/murex/config" 11 "github.com/lmorg/murex/lang/stdio" 12 ) 13 14 func readMap(read stdio.Io, _ *config.Config, callback func(key, value string, last bool)) error { 15 scanner := bufio.NewScanner(read) 16 for scanner.Scan() { 17 access, err, _ := apachelogs.ParseAccessLine(scanner.Text()) 18 if err != nil { 19 continue 20 } 21 22 } 23 24 if err := scanner.Err(); err != nil { 25 return err 26 } 27 28 return nil 29 } 30 */