readme changes, other default font, go-bindata for default font, little commenting

This commit is contained in:
probandula
2016-10-24 17:25:16 +02:00
parent bc879344e8
commit edfcb18a11
14 changed files with 2537 additions and 826 deletions

22
demo/default.go Normal file
View File

@@ -0,0 +1,22 @@
// Print a simple string with the 'standard' figlet font
package main
import (
"fmt"
"github.com/probandula/figlet4go"
)
// String to be printed
const str string = "Default"
func main() {
// Create the renderer
ascii := figlet4go.NewAsciiRender()
// Render the string
renderStr, _ := ascii.Render(str)
// Print the string
fmt.Print(renderStr)
}