diff options
author | Ethan Koenig <etk39@cornell.edu> | 2017-01-04 19:50:34 -0500 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-01-05 08:50:34 +0800 |
commit | 1207bda94b8de9f0cc618c4ccce235d809a5559e (patch) | |
tree | 9650961a7aa1dd3de883f5f6bef27db420b26227 /models/webhook_slack.go | |
parent | dc3ff9f2abc935f06940de56d613dacde3ee8c13 (diff) | |
download | gitea-1207bda94b8de9f0cc618c4ccce235d809a5559e.tar.gz gitea-1207bda94b8de9f0cc618c4ccce235d809a5559e.zip |
Fix typos in models/ (#576)
Diffstat (limited to 'models/webhook_slack.go')
-rw-r--r-- | models/webhook_slack.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/models/webhook_slack.go b/models/webhook_slack.go index aaeef6a001..b297fefd66 100644 --- a/models/webhook_slack.go +++ b/models/webhook_slack.go @@ -16,7 +16,7 @@ import ( "code.gitea.io/gitea/modules/setting" ) -// SlackMeta contains the slack metdata +// SlackMeta contains the slack metadata type SlackMeta struct { Channel string `json:"channel"` Username string `json:"username"` @@ -75,7 +75,7 @@ func SlackShortTextFormatter(s string) string { return s } -// SlackLinkFormatter creates a link compatablie with slack +// SlackLinkFormatter creates a link compatible with slack func SlackLinkFormatter(url string, text string) string { return fmt.Sprintf("<%s|%s>", url, SlackTextFormatter(text)) } |