update readme, go fmt

This commit is contained in:
probandula
2016-10-26 19:20:11 +02:00
parent 16a77d9064
commit 82cead4b62
4 changed files with 9 additions and 9 deletions

View File

@@ -75,7 +75,7 @@ func (ar *AsciiRender) RenderOpts(str string, opt *RenderOptions) (string, error
// Set color if given
if colored {
// Start colors from beginning if length is reached
if curColorIndex == len(opt.FontColor) {
if curColorIndex == len(opt.FontColor) {
curColorIndex = 0
}
// Assign color and increment the index
@@ -99,6 +99,6 @@ func (ar *AsciiRender) RenderOpts(str string, opt *RenderOptions) (string, error
// A new line at the end
result += "\n"
}
return result, nil
}