mirror of
https://github.com/KevinMidboe/motdGO.git
synced 2025-10-29 09:40:23 +00:00
commenting
This commit is contained in:
@@ -49,7 +49,7 @@ func (ar *AsciiRender) Render(str string) (string, error) {
|
||||
// Can be called from the user (if options wished) or the above Render method
|
||||
// Contains the whole rendering logic
|
||||
func (ar *AsciiRender) RenderOpts(str string, opt *RenderOptions) (string, error) {
|
||||
|
||||
// Should the text be colored
|
||||
colored := len(opt.FontColor) > 0
|
||||
|
||||
// Load the font
|
||||
|
||||
Reference in New Issue
Block a user