mirror of
https://github.com/KevinMidboe/motdGO.git
synced 2025-10-29 09:40:23 +00:00
update readme
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user