Skip to content

Instantly share code, notes, and snippets.

@VTRyo
Created December 20, 2022 09:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save VTRyo/a038ce168ff1949c084537865e7b7056 to your computer and use it in GitHub Desktop.
Save VTRyo/a038ce168ff1949c084537865e7b7056 to your computer and use it in GitHub Desktop.
christmas threatens to come.
package main
import (
"fmt"
"time"
)
func main() {
cnt := 14
for i := 0; i <= cnt; i++ {
fmt.Printf("\rSing a Song! %s", getEmoji(i))
time.Sleep(time.Second * 1 / 2)
}
fmt.Println("\nThx!")
}
func getEmoji(i int) string {
var sources = []string{
"('ε' )くー",
"('ㅂ' )り",
"('ε' )す",
"('□' )ま",
"('ε' )す",
"('□' )が",
"('ロ' )お",
"('ロ' )ど",
"('ㅂ' )し",
"('ロ' )を",
"('ロ' )か",
"('ㅂ' )け",
"('□' )て",
"('ロ' )く",
"('◇' )るー",
}
return sources[i]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment