From 5f81582ad7438924e15d4fd5441bcf748c692253 Mon Sep 17 00:00:00 2001 From: Alain Gilbert Date: Sat, 20 Aug 2022 19:32:39 -0700 Subject: [PATCH] consistant --- pkg/parser/parser.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/parser/parser.go b/pkg/parser/parser.go index b5f15013..0112e041 100644 --- a/pkg/parser/parser.go +++ b/pkg/parser/parser.go @@ -18,7 +18,7 @@ type Page struct { content []byte } -func (p Page) GetContent() []byte { return p.content } +func (p *Page) GetContent() []byte { return p.content } func (p *Page) GetDoc() *goquery.Document { if p.doc == nil {