summaryrefslogtreecommitdiff
path: root/internal/lcontext
diff options
context:
space:
mode:
authorPaul Buetow <git@mx.buetow.org>2021-02-05 09:32:52 +0000
committerPaul Buetow <git@mx.buetow.org>2021-02-05 09:32:52 +0000
commit6f093ff69c83526279b9f039aca079162c2b68d5 (patch)
tree8d695c5a100aae18ef90eeccc7ad2c075cfb39e5 /internal/lcontext
parent18a4de2bb288d44c4e5a7560fced7a15e9a6469d (diff)
refactor
Diffstat (limited to 'internal/lcontext')
-rw-r--r--internal/lcontext/lcontext.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/internal/lcontext/lcontext.go b/internal/lcontext/lcontext.go
new file mode 100644
index 0000000..bd51d94
--- /dev/null
+++ b/internal/lcontext/lcontext.go
@@ -0,0 +1,8 @@
+package lcontext
+
+// LContext stands for line context and is here to help filtering out only specific lines.
+type LContext struct {
+ AfterContext int
+ BeforeContext int
+ MaxCount int
+}