0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-17 06:53:31 +01:00
gitea/routers/utils
oliverpool c81b26b0e5
refactor webhook *NewPost (#20729)
* refactor webhook *NewPost

* remove empty values

* always show errs.Message

* remove utils.IsValidSlackChannel

* move IsValidSlackChannel to services/webhook package

* binding: handle empty Message case

* make IsValidSlackChannel more strict
2022-08-11 17:48:23 +02:00
..
utils_test.go
utils.go