From 142ad84dfb74993d189680f28991982355f8e321 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tufan=20Bar=C4=B1=C5=9F=20Y=C4=B1ld=C4=B1r=C4=B1m?= Date: Wed, 28 Aug 2024 18:39:54 +0300 Subject: [PATCH] make linter happy --- config/statement.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/statement.go b/config/statement.go index e92c752..f40d7ac 100644 --- a/config/statement.go +++ b/config/statement.go @@ -21,19 +21,23 @@ type IDirective interface { InlineCommenter } +// InlineCommenter represents the inline comment holder type InlineCommenter interface { GetInlineComment() string SetInlineComment(comment string) } +// DefaultInlineComment represents the default inline comment holder type DefaultInlineComment struct { InlineComment string } +// GetInlineComment returns the inline comment func (d *DefaultInlineComment) GetInlineComment() string { return d.InlineComment } +// SetInlineComment sets the inline comment func (d *DefaultInlineComment) SetInlineComment(comment string) { d.InlineComment = comment }