From a933237dedfca69bf0b9f58eaca1191e6d4f34f8 Mon Sep 17 00:00:00 2001 From: probandula Date: Thu, 3 Nov 2016 09:39:44 +0100 Subject: [PATCH] update readme --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d19f5b9..f7ce3de 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,8 @@ import "github.com/probandula/figlet4go" ascii := figlet4go.NewAsciiRender() options := figlet4go.NewRenderOptions() -options.Parser = figlet4go.GetParser("html") +p, _ := figlet4go.GetParser("html") +options.Parser = *p renderStr, _ := ascii.RenderOpts("Hello Fonts", options) fmt.Print(renderStr) @@ -138,4 +139,5 @@ Other fonts can mainly be found on [figlet](http://www.figlet.org). You have to - [x] More parsers (HTML) - [x] Better parsers (maybe stored in a map) - [ ] Pointer-Value standarization +- [ ] Writer choosing for writing to file - [ ] Tests