fix lint
This commit is contained in:
parent
feb1af9686
commit
37b7b7158f
2 changed files with 2 additions and 2 deletions
2
main.go
2
main.go
|
@ -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
|
||||
|
|
2
slack.go
2
slack.go
|
@ -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",
|
||||
|
|
Reference in a new issue