mirror of
https://github.com/KevinMidboe/motdGO.git
synced 2025-10-29 17:50:24 +00:00
23 lines
383 B
Go
23 lines
383 B
Go
package figlet
|
|
|
|
import ()
|
|
|
|
type AsciiRender struct {
|
|
fontMgr *FontManager
|
|
}
|
|
|
|
func NewAsciiRender() *AsciiRender {
|
|
this := &AsciiRender{}
|
|
|
|
this.fontMgr = NewFontManager()
|
|
return this
|
|
}
|
|
|
|
func (this *AsciiRender) LoadFont(fontPath string) error {
|
|
return this.fontMgr.LoadFont(fontPath)
|
|
}
|
|
|
|
func (this *AsciiRender) Render(asciiStr string, options interface{}) error {
|
|
return nil
|
|
}
|