mirror of
https://github.com/KevinMidboe/motdGOi.git
synced 2025-10-29 17:50:24 +00:00
update readme
This commit is contained in:
@@ -98,7 +98,8 @@ import "github.com/probandula/figlet4go"
|
|||||||
ascii := figlet4go.NewAsciiRender()
|
ascii := figlet4go.NewAsciiRender()
|
||||||
|
|
||||||
options := figlet4go.NewRenderOptions()
|
options := figlet4go.NewRenderOptions()
|
||||||
options.Parser = figlet4go.GetParser("html")
|
p, _ := figlet4go.GetParser("html")
|
||||||
|
options.Parser = *p
|
||||||
|
|
||||||
renderStr, _ := ascii.RenderOpts("Hello Fonts", options)
|
renderStr, _ := ascii.RenderOpts("Hello Fonts", options)
|
||||||
fmt.Print(renderStr)
|
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] More parsers (HTML)
|
||||||
- [x] Better parsers (maybe stored in a map)
|
- [x] Better parsers (maybe stored in a map)
|
||||||
- [ ] Pointer-Value standarization
|
- [ ] Pointer-Value standarization
|
||||||
|
- [ ] Writer choosing for writing to file
|
||||||
- [ ] Tests
|
- [ ] Tests
|
||||||
|
|||||||
Reference in New Issue
Block a user