add * import

This commit is contained in:
2023-07-10 22:18:02 +01:00
parent 88129528f4
commit 4d37d8d4de
9 changed files with 213 additions and 18 deletions

View File

@@ -36,10 +36,8 @@ func readFile(path string) []UNPARSEcode {
// optionally, resize scanner's capacity for lines over 64K, see next example
output := []UNPARSEcode{}
line := 1
textOutput := []string{}
for scanner.Scan() {
text := scanner.Text()
textOutput = append(textOutput, text)
output = append(output, UNPARSEcode{text, text, line, path})
line++
}