Changed the banner, fixed spelling

This commit is contained in:
claudemiro
2016-03-04 08:30:26 -03:00
parent 8810e523f0
commit 081611fd87
+17 -11
View File
@@ -11,7 +11,7 @@ import (
"github.com/dimiro1/ipe/ipe" "github.com/dimiro1/ipe/ipe"
) )
// Main function, initialze the system // Main function, initialize the system
func main() { func main() {
var filename = flag.String("config", "config.json", "Config file location") var filename = flag.String("config", "config.json", "Config file location")
flag.Parse() flag.Parse()
@@ -21,17 +21,23 @@ func main() {
ipe.Start(*filename) ipe.Start(*filename)
} }
// Print a beautifull banner // Print a beautiful banner
func printBanner() { func printBanner() {
fmt.Print("\033[36m") fmt.Print("\033[31m")
fmt.Print(` fmt.Print(`
██╗██████╗ ███████╗ d8b
██║██╔══██╗██╔════╝ Y8P
██║██████╔╝█████╗
██║██╔═══╝ ██╔══╝ 888 88888b. .d88b.
██║██║ ███████╗ 888 888 "88b d8P Y8b
╚═╝╚═╝ ╚══════╝`) 888 888 888 88888888
888 888 d88P Y8b.
888 88888P" "Y8888
888
888
888
`)
fmt.Println("\033[0m") fmt.Println("\033[0m")
fmt.Println("\033[32mWelcome to Ipê - Yet another Pusher server clone\033[0m") fmt.Println("\033[32mWelcome to Ipê - Yet another Pusher server clone (https://github.com/dimiro1/ipe)\033[0m")
fmt.Println("\033[33mBy: Claudemiro Alves Feitosa Neto <[email protected]>\033[0m") fmt.Println("\033[33mBy: Claudemiro Alves Feitosa Neto <[email protected]>\033[0m")
} }