From d1b871010285e146941b9bc00d0660269c96e767 Mon Sep 17 00:00:00 2001 From: c9s Date: Mon, 20 Jun 2022 10:21:42 +0800 Subject: [PATCH] add export symbol comment --- pkg/slack/slackstyle/style.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkg/slack/slackstyle/style.go b/pkg/slack/slackstyle/style.go index 1f3fca63e..46914aa8e 100644 --- a/pkg/slack/slackstyle/style.go +++ b/pkg/slack/slackstyle/style.go @@ -1,8 +1,14 @@ package slackstyle +// Green is the green hex color const Green = "#228B22" + +// Red is the red hex color const Red = "#800000" +// TrendIcon returns the slack emoji of trends +// 1: uptrend +// -1: downtrend func TrendIcon(trend int) string { if trend < 0 { return ":chart_with_downwards_trend:"