Banner hinzugefügt
This commit is contained in:
parent
e4d8e84f0f
commit
8355ef56af
|
@ -4,6 +4,6 @@ TODO::
|
|||
|
||||
* ~~Coins updaten~~
|
||||
* Kofis Hinzufügen
|
||||
* Manuell (einzeln)
|
||||
* ~~Manuell (einzeln)~~
|
||||
* CSV-Import
|
||||
* ~~Kofis löschen~~
|
||||
|
|
|
@ -8,6 +8,7 @@ import (
|
|||
|
||||
"github.com/astaxie/session"
|
||||
_ "github.com/astaxie/session/providers/memory"
|
||||
"fmt"
|
||||
)
|
||||
|
||||
//Initialize Session
|
||||
|
@ -26,8 +27,29 @@ func main() {
|
|||
//Config
|
||||
SiteConf := initConfig()
|
||||
|
||||
//Startup Banner
|
||||
fmt.Println("################################################################")
|
||||
fmt.Println("# _ __ __ _ _____ _ _ #")
|
||||
fmt.Println("# | | / / / _(_) ____ / __ \\ | | | | #")
|
||||
fmt.Println("# | |/ / ___ _ __ | |_ _ / __ \\| / \\/ __ _ ___| |_| | ___ #")
|
||||
fmt.Println("# | \\ / _ \\| '_ \\| _| |/ / _` | | / _` / __| __| |/ _ \\ #")
|
||||
fmt.Println("# | |\\ \\ (_) | | | | | | | | (_| | \\__/\\ (_| \\__ \\ |_| | __/ #")
|
||||
fmt.Println("# \\_| \\_/\\___/|_| |_|_| |_|\\ \\__,_|\\____/\\__,_|___/\\__|_|\\___| #")
|
||||
fmt.Println("# \\____/ #")
|
||||
fmt.Println("# #")
|
||||
fmt.Println("# _ __ _ #")
|
||||
fmt.Println("# | | / / (_) #")
|
||||
fmt.Println("# | |/ / __ _ ___ _ _ __ ___ #")
|
||||
fmt.Println("# | \\ / _` / __| | '_ \\ / _ \\ #")
|
||||
fmt.Println("# | |\\ \\ (_| \\__ \\ | | | | (_) | #")
|
||||
fmt.Println("# \\_| \\_/\\__,_|___/_|_| |_|\\___/ #")
|
||||
fmt.Println("# #")
|
||||
fmt.Println("# © 2017 Konrad Langenberg (kola-entertainments.de) #")
|
||||
fmt.Println("################################################################")
|
||||
|
||||
//Echo init
|
||||
e := echo.New()
|
||||
e.HideBanner = true
|
||||
|
||||
//Logger
|
||||
e.Use(middleware.LoggerWithConfig(middleware.LoggerConfig{
|
||||
|
|
Loading…
Reference in New Issue