33 lines
438 B
Go
33 lines
438 B
Go
|
package asciiart
|
||
|
|
||
|
import (
|
||
|
"strings"
|
||
|
)
|
||
|
|
||
|
func Getascii(name string) []string {
|
||
|
none := `!!!!!!!!!!!!!!!
|
||
|
!!!!!!!!!!!!!!!
|
||
|
!!!!noascii!!!!
|
||
|
!!!!!!!!!!!!!!!
|
||
|
!!!!!!!!!!!!!!!
|
||
|
`
|
||
|
arch := ` /\
|
||
|
/ \
|
||
|
/\ \
|
||
|
/ > ω <\
|
||
|
/ __ \
|
||
|
/ __| |__-\
|
||
|
/_-'' ''-_\
|
||
|
`
|
||
|
|
||
|
switch name {
|
||
|
case "Arch Linux":
|
||
|
return strings.Split(arch, "\n")
|
||
|
|
||
|
default:
|
||
|
return strings.Split(none, "\n")
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|