Skip to content

Commit

Permalink
[Remove] empty default type
Browse files Browse the repository at this point in the history
  • Loading branch information
JanGalek committed Jan 17, 2025
1 parent 22303da commit d6d64c4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion html.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ func (h *Html) AddChild(child interface{}) *Html {
h.children = append(h.children, v)
case string:
h.children = append(h.children, v)
default:
}
return h
}
Expand Down
2 changes: 0 additions & 2 deletions render.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ func (h *Html) Render(level ...int) string {
html += v
case *Html:
html += "\n" + v.Render(indentLevel+1)
default:

}

}
Expand Down

0 comments on commit d6d64c4

Please sign in to comment.