1 Star 2 Fork 3

kristas/booting-go

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
banners.go 846 Bytes
一键复制 编辑 原始数据 按行查看 历史
kristas 提交于 2021-08-25 14:00 . feat: add generate tool
// Copyright (c) 2020 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
/**
*@describe:
*@author wfl19/Kristas
*@date 2021/04/14
*/
package banners
import (
"fmt"
. "gitee.com/kristas/booting-go/framework/common/util/console"
"gitee.com/kristas/booting-go/framework/constant"
"log"
"os"
)
var banners = Drawln(White, fmt.Sprintf("%v", os.Args)) +
Drawln(Yellow, " ___ _ _ ___ ___") +
Drawln(Blue, "| _ ) ___ ___| |_(_)_ _ __ _ / __|/ _ \\") +
Drawln(Green, "| _ \\/ _ \\/ _ \\ _| | ' \\/ _` | | (_ | (_) |") +
Drawln(Cyan, "|___/\\___/\\___/\\__|_|_||_\\__, | \\___|\\___/") +
Drawln(Magenta, " |___/ version: %v\n")
func PrintBanners() {
log.Printf(banners, constant.Version)
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/kristas/booting-go.git
git@gitee.com:kristas/booting-go.git
kristas
booting-go
booting-go
v1.3.8

搜索帮助