issue-10: fixed unit tests
This commit is contained in:
parent
90ec88d360
commit
9ab5da32e2
3 changed files with 43 additions and 25 deletions
|
|
@ -4,6 +4,10 @@ type StyleRenderer interface {
|
|||
Render(str string) string
|
||||
}
|
||||
|
||||
func PlainTextRenderer() StyleRenderer {
|
||||
return plainTextStyleRenderer{}
|
||||
}
|
||||
|
||||
type plainTextStyleRenderer struct{}
|
||||
|
||||
func (plainTextStyleRenderer) Render(str string) string {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue