Help us shape the future of Go! Take the 2026 Go Developer Survey

talk

package module
v0.0.0-...-3b195e1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2019 License: MIT Imports: 4 Imported by: 0

README

Talk

Talk is a Go module that prints an ASCII image with a message.

~~~~~~~~~~~~~~~~
/ Hello, World! /
~~~~~~~~~~~~~~~~
             ###
             ##
             #
                        dhyysoo++++ooossyhd
                Ndyo/:#######################:+sd
      NN/:###ds/#######################/+////+/###+y#######
  Ny/:###/hy:#:+/::###::/+:#########+/:`  .:#  :+/##:oo######
 h:##//:+o:#:+:  +hdy.    #+:#####++`     s####` :+###:sN +###:
 ###d   /##:o   :#####      o:###//       h#s#N.  :/####+Ny####
d###sN :###s`    `sd+d:     `o###s         ://`    s#####++###/
 y:##s/####s                `s###s`               `s######s:/
  Nhso#####//               +:###:o`             `o:######:
    N#######+/            `+/:+sss+o/`         ./+#########
    y########:+/:.    `#://#+N     N:+//:::::/+/###########/
    +############:/+++/:##ooodNNN dsoo+#####################
    /####################s/:::::::::::/s####################h
    :####################+o//+++s/++//oo####################s
    :######################o/  ##  ++/:#####################o
    /######################:+  ::  :/#######################+
    +#######################+//++//+########################+

Documentation

Overview

Package talk prints an ASCII image with a message.

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func Gopher

func Gopher(s string, w io.Writer)

Gopher writes an ASCII image of a gopher with a message.

Example
Gopher("Hello, World!", os.Stdout)
Output:
~~~~~~~~~~~~~~~~
/ Hello, World! /
~~~~~~~~~~~~~~~~
             ###
             ##
             #
                        dhyysoo++++ooossyhd
                Ndyo/:#######################:+sd
      NN/:###ds/#######################/+////+/###+y#######
  Ny/:###/hy:#:+/::###::/+:#########+/:`  .:#  :+/##:oo######
 h:##//:+o:#:+:  +hdy.    #+:#####++`     s####` :+###:sN +###:
 ###d   /##:o   :#####      o:###//       h#s#N.  :/####+Ny####
d###sN :###s`    `sd+d:     `o###s         ://`    s#####++###/
 y:##s/####s                `s###s`               `s######s:/
  Nhso#####//               +:###:o`             `o:######:
    N#######+/            `+/:+sss+o/`         ./+#########
    y########:+/:.    `#://#+N     N:+//:::::/+/###########/
    +############:/+++/:##ooodNNN dsoo+#####################
    /####################s/:::::::::::/s####################h
    :####################+o//+++s/++//oo####################s
    :######################o/  ##  ++/:#####################o
    /######################:+  ::  :/#######################+
    +#######################+//++//+########################+

Types

This section is empty.

Jump to

Keyboard shortcuts

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