Documentation
¶
Index ¶
Examples ¶
Constants ¶
View Source
const Banner = `` /* 313-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func OfTheDay ¶
func OfTheDay() string
OfTheDay returns the ascii-art representation of the Berty bird saying the quote of the day
Example ¶
fmt.Println(OfTheDay())
Output:
func Say ¶
Say returns an ascii-art representation of the Berty bird saying something
Example ¶
fmt.Println(Say("hello world!"))
Output: /\ /\ / /\ ______ / /\/ / \/ | \ hello world! | | \/ | ()| | \ \ | |____| \ \ \____/ __ __ \/ / / / ___ ____/ /___ __ / __/ / _ \/ -_) __/ __/ // / /_____/ /____/\__/_/ \__/\__ / /__/ /___/
Example (Long) ¶
fmt.Println(Say(`Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.`))
Output: /\ /\ / /\ ______ Lorem ipsum dolor sit amet, consectetur / /\/ / \/ | \ adipiscing elit, sed do eiusmod tempor | | \/ | ()| | incididunt ut labore et dolore magna aliqua. \ \ | |____| Ut enim ad minim veniam, quis nostrud [...] \ \ \____/ __ __ \/ / / / ___ ____/ /___ __ / __/ / _ \/ -_) __/ __/ // / /_____/ /____/\__/_/ \__/\__ / /__/ /___/
Types ¶
Click to show internal directories.
Click to hide internal directories.