This commit is contained in:
echo 2022-09-22 14:18:20 +03:30
parent ff5c0f746c
commit 66f4e514ca
4 changed files with 55 additions and 33 deletions

30
utils/asciiarts.go Normal file
View file

@ -0,0 +1,30 @@
package utils
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")
}
}