update msg

This commit is contained in:
luyoyu 2023-09-13 23:02:47 +08:00
parent d9fef498b9
commit 89069492c7

View File

@ -9,6 +9,10 @@ import (
// 控制台显示信息
func showMsg() {
fmt.Println(color.WhiteString("-----------------------------------------------------------------------"))
fmt.Println(color.HiBlueString(" _ _ _ _ \n ___| |__ __ _ _ __ ___ ___ ___ _ __ (_) | ___ | |_ \n/ __| '_ \\ / _` | '__/ _ \\_____ / __/ _ \\| '_ \\| | |/ _ \\| __|\n\\__ \\ | | | (_| | | | __/_____| (_| (_) | |_) | | | (_) | |_ \n|___/_| |_|\\__,_|_| \\___| \\___\\___/| .__/|_|_|\\___/ \\__|\n |_| \n"))
fmt.Println(color.WhiteString("[Source Code]") + "https://gitee.com/chuangxxt/share-copilot")
fmt.Println(color.WhiteString("-----------------------------------------------------------------------"))
var url = ""
if configFile.Server.Port == 80 {
url = "http://" + configFile.Server.Domain