mypic

package
v0.0.0-...-b549a19 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Pic

func Pic(dx, dy int) [][]uint8

Pic returns a slice of length dy, each element of which is a slice of dx 8-bit unsigned integers. https://tour.golang.org/moretypes/18

func ShowPic

func ShowPic()

ShowPic returns a Base-64 encoded string that can be used to display an image. To display on the web, use the below format, with ${encodedString} being the string returned by this function: <img src={`data:image/png;base64,${encodedString}`} />

Types

This section is empty.

Jump to

Keyboard shortcuts

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