From 65d8ac5c1472997566cf45aedd6c38a54fa10cf9 Mon Sep 17 00:00:00 2001 From: tsosunchia <59512455+tsosunchia@users.noreply.github.com> Date: Sun, 5 Nov 2023 16:07:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9credit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- printer/basic.go | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/printer/basic.go b/printer/basic.go index 1be72b99..abfe223f 100644 --- a/printer/basic.go +++ b/printer/basic.go @@ -24,16 +24,18 @@ func Version() { func CopyRight() { sponsor() - fmt.Fprintf(color.Output, "\n%s\n%s %s\n%s %s, %s, %s, %s\n%s %s\n\n", + fmt.Fprintf(color.Output, "\n%s\n%s %s\n%s %s\n%s %s, %s, %s, %s\n%s %s\n%s %s\n", color.New(color.FgCyan, color.Bold).Sprintf("%s", "NextTrace CopyRight"), //color.New(color.FgGreen, color.Bold).Sprintf("%s", "Contact Us"), //color.New(color.FgWhite, color.Bold).Sprintf("%s", "Feedback Email:"), //color.New(color.FgHiBlack, color.Bold).Sprintf("%s", "nt@moeqing.com"), //color.New(color.FgWhite, color.Bold).Sprintf("%s", "HomePage:"), //color.New(color.FgHiBlack, color.Bold).Sprintf("%s", "github.com/nxtrace"), - color.New(color.FgWhite, color.Bold).Sprintf("%s", "Creator:"), + color.New(color.FgWhite, color.Bold).Sprintf("%s", "Honorary Founder:"), color.New(color.FgHiBlue, color.Bold).Sprintf("%s", "Leo"), //color.New(color.FgHiBlack, color.Bold).Sprintf("%s", "i@leo.moe"), + color.New(color.FgWhite, color.Bold).Sprintf("%s", "Project Chair:"), + color.New(color.FgHiBlue, color.Bold).Sprintf("%s", "Tso"), color.New(color.FgWhite, color.Bold).Sprintf("%s", "Core-Developer:"), color.New(color.FgHiBlue, color.Bold).Sprintf("%s", "Leo"), //color.New(color.FgHiBlack, color.Bold).Sprintf("%s", "i@leo.moe"), @@ -43,35 +45,25 @@ func CopyRight() { //color.New(color.FgHiBlack, color.Bold).Sprintf("%s", "zhshch@athorx.com"), color.New(color.FgHiBlue, color.Bold).Sprintf("%s", "Tso"), //color.New(color.FgHiBlack, color.Bold).Sprintf("%s", "tsosunchia@gmail.com"), - color.New(color.FgWhite, color.Bold).Sprintf("%s", "Maintainer:"), + color.New(color.FgWhite, color.Bold).Sprintf("%s", "Infra Maintainer:"), color.New(color.FgHiBlue, color.Bold).Sprintf("%s", "Tso"), + color.New(color.FgWhite, color.Bold).Sprintf("%s", "NOC Manager:"), + color.New(color.FgHiBlue, color.Bold).Sprintf("%s", "YekongTAT"), //color.New(color.FgHiBlack, color.Bold).Sprintf("%s", "tsosunchia@gmail.com"), ) - - moeQingOrgCopyRight() //PluginCopyRight() } -func moeQingOrgCopyRight() { - fmt.Fprintf(color.Output, "%s\n%s %s, %s\n\n", - color.New(color.FgCyan, color.Bold).Sprintf("%s", "NextTrace Project NOC"), - color.New(color.FgWhite, color.Bold).Sprintf("%s", "MoeQing.io:"), - color.New(color.FgHiBlue, color.Bold).Sprintf("%s", "YekongTAT"), - //color.New(color.FgHiBlack, color.Bold).Sprintf("%s", "yekongtat@gmail.com"), - color.New(color.FgHiBlue, color.Bold).Sprintf("%s", "Haima"), - //color.New(color.FgHiBlack, color.Bold).Sprintf("%s", "haima@peers.cloud"), - ) -} - func sponsor() { italic := "\x1b[3m%s\x1b[0m" formatted := fmt.Sprintf(italic, "(Listed in no particular order)") - fmt.Fprintf(color.Output, "%s\n%s\n%s\n%s\n%s\n", + fmt.Fprintf(color.Output, "%s\n%s\n%s\n%s\n%s\n%s\n", color.New(color.FgCyan, color.Bold).Sprintf("%s", "NextTrace Sponsored by"), color.New(color.FgHiYellow, color.Bold).Sprintf("%s", "· DMIT.io"), color.New(color.FgHiYellow, color.Bold).Sprintf("%s", "· Misaka.io"), color.New(color.FgHiYellow, color.Bold).Sprintf("%s", "· Skywolf.cloud"), + color.New(color.FgHiYellow, color.Bold).Sprintf("%s", "· MoeQing.io"), color.New(color.FgHiBlack, color.Bold).Sprintf("%s", formatted), ) }