flfgo

package module
v0.0.0-...-ff88588 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2022 License: MIT Imports: 4 Imported by: 1

README

flfgo


A port of figlet to golang.

Use

For use it in code like this :

package main

import (
    "gitea.s1.thoxy.xyz/thoxy/flfgo"
)

func main() {
    renderStr, _ := flfgo.Render([]byte("fontfile content byte"), "Text")
    fmt.Println(renderStr)
}

Credit

This is a minimized fork of https://github.com/weberhong/figlet4go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Render

func Render(f []byte, asciiStr string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL