gitea/services/webhook
Eng Zer Jun f2e7d5477f
refactor: move from io/ioutil to io and os package ()
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil. This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2021-09-22 13:38:34 +08:00
..
deliver_test.go Move webhook type from int to string () 2020-12-08 11:41:14 +01:00
deliver.go refactor: move from io/ioutil to io and os package () 2021-09-22 13:38:34 +08:00
dingtalk_test.go Open the DingTalk link in browser () 2021-09-18 20:35:23 +01:00
dingtalk.go Open the DingTalk link in browser () 2021-09-18 20:35:23 +01:00
discord_test.go Add tests for all webhooks () 2021-06-20 22:12:19 -04:00
discord.go Add an abstract json layout to make it's easier to change json library () 2021-07-24 18:03:58 +02:00
feishu_test.go Add tests for all webhooks () 2021-06-20 22:12:19 -04:00
feishu.go Add an abstract json layout to make it's easier to change json library () 2021-07-24 18:03:58 +02:00
general_test.go Add tests for all webhooks () 2021-06-20 22:12:19 -04:00
general.go Add tests for all webhooks () 2021-06-20 22:12:19 -04:00
main_test.go Move db related basic functions to models/db () 2021-09-19 19:49:59 +08:00
matrix_test.go Refactor Webhook + Add X-Hub-Signature () 2021-06-27 20:21:09 +01:00
matrix.go Add an abstract json layout to make it's easier to change json library () 2021-07-24 18:03:58 +02:00
msteams_test.go Add tests for all webhooks () 2021-06-20 22:12:19 -04:00
msteams.go Add an abstract json layout to make it's easier to change json library () 2021-07-24 18:03:58 +02:00
payloader.go Move webhook type from int to string () 2020-12-08 11:41:14 +01:00
slack_test.go Add tests for all webhooks () 2021-06-20 22:12:19 -04:00
slack.go Add an abstract json layout to make it's easier to change json library () 2021-07-24 18:03:58 +02:00
telegram_test.go Add tests for all webhooks () 2021-06-20 22:12:19 -04:00
telegram.go Add an abstract json layout to make it's easier to change json library () 2021-07-24 18:03:58 +02:00
webhook_test.go Move db related basic functions to models/db () 2021-09-19 19:49:59 +08:00
webhook.go [API] generalize list header () 2021-08-12 14:43:08 +02:00
wechatwork.go Add an abstract json layout to make it's easier to change json library () 2021-07-24 18:03:58 +02:00