Ruin echos dreams
This commit is contained in:
parent
e2710bd807
commit
50b8b7449b
4 changed files with 173 additions and 134 deletions
|
|
@ -1,10 +1,6 @@
|
|||
package utils
|
||||
|
||||
import (
|
||||
"strings"
|
||||
)
|
||||
|
||||
func Getascii(name string) []string {
|
||||
func Getascii(name string) string {
|
||||
none := `!!!!!!!!!!!!!!!
|
||||
!!!!!!!!!!!!!!!
|
||||
!!!!noascii!!!!
|
||||
|
|
@ -20,11 +16,10 @@ func Getascii(name string) []string {
|
|||
|
||||
switch name {
|
||||
case "Arch Linux":
|
||||
return strings.Split(arch, "\n")
|
||||
return arch
|
||||
|
||||
default:
|
||||
return strings.Split(none, "\n")
|
||||
|
||||
return none
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue