lgtmgen

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnsupportImageFormat = errors.New("unsupported image format")
	ErrInvalidOption        = errors.New("invalid option")
)

Functions

func Generate

func Generate(src []byte, opts ...GenerateOption) ([]byte, error)

Types

type GenerateOption added in v0.2.0

type GenerateOption func(*generateOptions)

func WithTextColor added in v0.2.0

func WithTextColor(color string) GenerateOption

Jump to

Keyboard shortcuts

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