Cloudreve/bootstrap/app.go

22 lines
532 B
Go
Raw Normal View History

2020-02-22 21:19:13 -05:00
package bootstrap
import (
"fmt"
2020-03-09 03:53:01 -05:00
"github.com/HFO4/cloudreve/pkg/conf"
2020-02-22 21:19:13 -05:00
)
// InitApplication 初始化应用常量
func InitApplication() {
2020-03-09 03:53:01 -05:00
fmt.Print(`
___ _ _
/ __\ | ___ _ _ __| |_ __ _____ _____
/ / | |/ _ \| | | |/ _ | '__/ _ \ \ / / _ \
/ /___| | (_) | |_| | (_| | | | __/\ V / __/
\____/|_|\___/ \__,_|\__,_|_| \___| \_/ \___|
V` + conf.BackendVersion + ` Commit #` + conf.LastCommit + ` Pro=` + conf.IsPro + `
================================================
`)
2020-02-22 21:19:13 -05:00
}