Skip to content

Commit

Permalink
make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
tufanbarisyildirim committed Aug 28, 2024
1 parent 08bac11 commit 142ad84
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/statement.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 142ad84

Please # to comment.