Documentation ¶ Index ¶ func Pic(dx, dy int) [][]uint8 func ShowPic() 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. Source Files ¶ View all Source files mypic.go Click to show internal directories. Click to hide internal directories.