1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-26 09:09:36 -05:00
forgejo/services/webhook
Eng Zer Jun f2e7d5477f
refactor: move from io/ioutil to io and os package (#17109)
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.go refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
deliver_test.go Move webhook type from int to string (#13664) 2020-12-08 11:41:14 +01:00
dingtalk.go Open the DingTalk link in browser (#17084) 2021-09-18 20:35:23 +01:00
dingtalk_test.go Open the DingTalk link in browser (#17084) 2021-09-18 20:35:23 +01:00
discord.go Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
discord_test.go Add tests for all webhooks (#16214) 2021-06-20 22:12:19 -04:00
feishu.go Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
feishu_test.go Add tests for all webhooks (#16214) 2021-06-20 22:12:19 -04:00
general.go Add tests for all webhooks (#16214) 2021-06-20 22:12:19 -04:00
general_test.go Add tests for all webhooks (#16214) 2021-06-20 22:12:19 -04:00
main_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
matrix.go Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
matrix_test.go Refactor Webhook + Add X-Hub-Signature (#16176) 2021-06-27 20:21:09 +01:00
msteams.go Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
msteams_test.go Add tests for all webhooks (#16214) 2021-06-20 22:12:19 -04:00
payloader.go Move webhook type from int to string (#13664) 2020-12-08 11:41:14 +01:00
slack.go Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
slack_test.go Add tests for all webhooks (#16214) 2021-06-20 22:12:19 -04:00
telegram.go Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
telegram_test.go Add tests for all webhooks (#16214) 2021-06-20 22:12:19 -04:00
webhook.go [API] generalize list header (#16551) 2021-08-12 14:43:08 +02:00
webhook_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
wechatwork.go Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00