Simplify parameter types (#18006)

Remove repeated type declarations in function definitions.
This commit is contained in:
Gusted authored and GitHub committed 2021-12-20 04:41:31 +00:00
1 parent 25677cdc5b
commit ff2fd08228
59 files changed
+115 -116

No files matched your search

+1 -1
View File
@@ -85,7 +85,7 @@ func SlackShortTextFormatter(s string) string {
}
// SlackLinkFormatter creates a link compatible with slack
func SlackLinkFormatter(url string, text string) string {
func SlackLinkFormatter(url, text string) string {
return fmt.Sprintf("<%s|%s>", url, SlackTextFormatter(text))
}