refactor: Split code between packages

This commit is contained in:
2024-01-02 20:50:17 +00:00
parent dee3b15156
commit edc6cf37cd
5 changed files with 53 additions and 41 deletions

View File

@@ -0,0 +1,8 @@
package models
// FileMatchData contains grep results
type FileMatchData struct {
Path string
LineIndexes []int
Lines []string
}