Optimizing scripts

pull/2100/head
skiffer-git 2 years ago
parent 6f5464e34f
commit fa52224a0a

@ -25,13 +25,14 @@ func printLinks() {
blue := color.New(color.FgBlue).SprintFunc() blue := color.New(color.FgBlue).SprintFunc()
fmt.Printf("OpenIM Github: %s\n", blue("https://github.com/OpenIMSDK/Open-IM-Server")) fmt.Printf("OpenIM Github: %s\n", blue("https://github.com/OpenIMSDK/Open-IM-Server"))
fmt.Printf("Slack Invitation: %s\n", blue("https://openimsdk.slack.com")) fmt.Printf("Slack Invitation: %s\n", blue("https://openimsdk.slack.com"))
fmt.Printf("Follow Twitter: %s\n", blue("https://twitter.com/founder_im63606"))
} }
func main() { func main() {
yellow := color.New(color.FgYellow) yellow := color.New(color.FgYellow)
blue := color.New(color.FgBlue, color.Bold) blue := color.New(color.FgBlue, color.Bold)
yellow.Println("Current module is still under development.") yellow.Println("Please use the release branch or tag for production environments!")
message := ` message := `
____ _____ __ __ ____ _____ __ __

Loading…
Cancel
Save