chore: update greeting words

This commit is contained in:
Steven 2023-07-12 07:30:24 +08:00
parent 8fade614d2
commit 402b766872

View File

@ -18,17 +18,6 @@ import (
"github.com/boojack/slash/store/db" "github.com/boojack/slash/store/db"
) )
const (
greetingBanner = `
`
)
var ( var (
profile *_profile.Profile profile *_profile.Profile
mode string mode string
@ -67,7 +56,7 @@ var (
cancel() cancel()
}() }()
println(greetingBanner) println("Welcome to Slash!")
fmt.Printf("Version %s has started at :%d\n", profile.Version, profile.Port) fmt.Printf("Version %s has started at :%d\n", profile.Version, profile.Port)
if err := s.Start(ctx); err != nil { if err := s.Start(ctx); err != nil {
if err != http.ErrServerClosed { if err != http.ErrServerClosed {