Skip to content

Commit

Permalink
fix: golanglint ci warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyjoygh committed Jun 30, 2024
1 parent 321667d commit 9cc9846
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions renderer/string/string.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,7 @@ func (r *StringRenderer) renderTable(node *ast.Table) {
}
}

func (r *StringRenderer) renderEmbeddedContent(node *ast.EmbeddedContent) {
}
func (*StringRenderer) renderEmbeddedContent(_ *ast.EmbeddedContent) {}

func (r *StringRenderer) renderText(node *ast.Text) {
r.output.WriteString(node.Content)
Expand All @@ -202,8 +201,7 @@ func (r *StringRenderer) renderCode(node *ast.Code) {
r.output.WriteString(node.Content)
}

func (r *StringRenderer) renderImage(node *ast.Image) {
}
func (*StringRenderer) renderImage(_ *ast.Image) {}

func (r *StringRenderer) renderLink(node *ast.Link) {
r.output.WriteString(node.URL)
Expand Down Expand Up @@ -243,8 +241,7 @@ func (r *StringRenderer) renderSuperscript(node *ast.Superscript) {
r.output.WriteString(node.Content)
}

func (r *StringRenderer) renderReferencedContent(node *ast.ReferencedContent) {
}
func (*StringRenderer) renderReferencedContent(_ *ast.ReferencedContent) {}

func (r *StringRenderer) renderSpoiler(node *ast.Spoiler) {
r.output.WriteString(node.Content)
Expand Down

0 comments on commit 9cc9846

Please sign in to comment.