Skip to content

Commit

Permalink
Merge pull request #198 from nyaruka/splash
Browse files Browse the repository at this point in the history
Really important PR (add splash logo)
  • Loading branch information
rowanseymour authored Mar 21, 2018
2 parents c0d6b01 + af390ef commit 8a08421
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions cmd/flowserver/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ package main
import (
"encoding/json"
"errors"
"fmt"
"net/http"
"os"
"os/signal"
Expand All @@ -14,6 +15,13 @@ import (
log "github.com/sirupsen/logrus"
)

var splash = ` ______
____ ____ / __/ /___ _ ______
/ __ '/ __ \/ /_/ / __ \ | /| / / __
/ /_/ / /_/ / __/ / /_/ / |/ |/ / _
\__, /\____/_/ /_/\____/|__/|__/ _
/____/`

var version = "Dev"

func main() {
Expand All @@ -24,6 +32,8 @@ func main() {
config.Version = version
}

fmt.Printf("%s --- version: %s ---\n", splash, config.Version)

level, err := log.ParseLevel(config.LogLevel)
if err != nil {
log.Fatalf("Invalid log level '%s'", level)
Expand Down

0 comments on commit 8a08421

Please sign in to comment.