fayed/fix-collisions
Richard van der Hoff 3 years ago
parent feb1af9686
commit 37b7b7158f

@ -96,7 +96,7 @@ func main() {
if cfg.SlackWebhookURL == "" {
fmt.Println("No slack_webhook_url configured. Reporting bugs to slack is disabled.")
} else {
slack = NewSlackClient(cfg.SlackWebhookURL)
slack = newSlackClient(cfg.SlackWebhookURL)
}
apiPrefix := cfg.APIPrefix

@ -12,7 +12,7 @@ type slackClient struct {
face string
}
func NewSlackClient(webHook string) *slackClient {
func newSlackClient(webHook string) *slackClient {
return &slackClient{
webHook: webHook,
name: "Notifier",