We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba630f5 commit 264a3d5Copy full SHA for 264a3d5
repo_hook.go
@@ -160,6 +160,23 @@ func (p *DeletePayload) JSONPayload() ([]byte, error) {
160
return json.MarshalIndent(p, "", " ")
161
}
162
163
+// ___________ __
164
+// \_ _____/__________| | __
165
+// | __)/ _ \_ __ \ |/ /
166
+// | \( <_> ) | \/ <
167
+// \___ / \____/|__| |__|_ \
168
+// \/ \/
169
+
170
+type ForkPayload struct {
171
+ Forkee *Repository `json:"forkee"`
172
+ Repo *Repository `json:"repository"`
173
+ Sender *User `json:"sender"`
174
+}
175
176
+func (p *ForkPayload) JSONPayload() ([]byte, error) {
177
+ return json.MarshalIndent(p, "", " ")
178
179
180
// __________ .__
181
// \______ \__ __ _____| |__
182
// | ___/ | \/ ___/ | \
0 commit comments