1
0
mirror of https://github.com/gofiber/fiber.git synced 2025-04-27 13:14:31 +00:00

🎨 Fix PID alignment

This commit is contained in:
Fenny 2020-07-14 16:23:14 +02:00
parent 883882fd0b
commit 39b59d8d24

2
app.go

@ -712,7 +712,7 @@ func (app *App) startupMessage(addr string, tls bool, pids string) {
cCyan, cBlack, fmt.Sprintf(" HOST %s\tOS %s", cyan(host), cyan(osName)),
cCyan, cBlack, fmt.Sprintf(" PORT %s\tCORES %s", cyan(port), cyan(cpuCores)),
cCyan, cBlack, fmt.Sprintf(" TLS %s\tMEM %s", cyan(tlsStr), cyan(memTotal)),
cBlack, cyan(Version), fmt.Sprintf(" ROUTES %s\t\t\t PID %s%s%s\n", cyan(routesLen), cyan(pid), pids, cReset),
cBlack, cyan(Version), fmt.Sprintf(" ROUTES %s\t\t\t PID %s%s%s\n", cyan(routesLen), cyan(pid), pids, cReset),
)
// Write to io.write
_ = out.Flush()