Skip to content

Commit 53781ac

Browse files
committed
Added header param to README
1 parent 16a6ac7 commit 53781ac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func main() {
7070
}
7171

7272
// HandleRelease handles GitHub release events
73-
func HandleRelease(payload interface{}) {
73+
func HandleRelease(payload interface{}, header webhooks.Header) {
7474

7575
fmt.Println("Handling Release")
7676

@@ -86,7 +86,7 @@ func HandleRelease(payload interface{}) {
8686
}
8787

8888
// HandlePullRequest handles GitHub pull_request events
89-
func HandlePullRequest(payload interface{}) {
89+
func HandlePullRequest(payload interface{}, header webhooks.Header) {
9090

9191
fmt.Println("Handling Pull Request")
9292

@@ -125,7 +125,7 @@ func main() {
125125
}
126126

127127
// HandleMultiple handles multiple GitHub events
128-
func HandleMultiple(payload interface{}) {
128+
func HandleMultiple(payload interface{}, header webhooks.Header) {
129129

130130
fmt.Println("Handling Payload..")
131131

0 commit comments

Comments
 (0)