generator

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2022 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Convert

func Convert(fn string) error

Convert will try to emulate the output of the convert utility from ImageMagick.

func GenerateBash

func GenerateBash(str string) string

GenerateBash will generate a bash function from an image that can be ran to display in a terminal.

func GenerateGo

func GenerateGo(str string) string

GenerateGo will generate a go function from an image that can be ran to display in a terminal.

func GenerateJSON

func GenerateJSON(fn, name string) (string, string, error)

GenerateJSON will generate JSON from an image that can be parsed by arTTY to display in a terminal.

func GeneratePython

func GeneratePython(str string) string

GeneratePython will generate a python3 function from an image that can be ran to display in a terminal.

func GenerateRuby

func GenerateRuby(str string) string

GenerateRuby will generate a ruby function from an image that can be ran to display in a terminal.

Types

This section is empty.

Jump to

Keyboard shortcuts

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