From 15000ac6a1a8f30e4bd600da0df06f9634f86782 Mon Sep 17 00:00:00 2001 From: yuin Date: Sat, 12 Oct 2024 22:42:35 +0900 Subject: [PATCH] Fix lint errors --- ast/block.go | 1 + 1 file changed, 1 insertion(+) diff --git a/ast/block.go b/ast/block.go index e781a45..04d0d54 100644 --- a/ast/block.go +++ b/ast/block.go @@ -48,6 +48,7 @@ func (b *BaseBlock) SetLines(v *textm.Segments) { b.lines = v } +// Text implements Node.Text. func (b *BaseBlock) Text(source []byte) []byte { var buf bytes.Buffer for _, line := range b.Lines().Sliced(0, b.Lines().Len()) {