mirror of
https://github.com/Damillora/Yuriko.git
synced 2024-11-24 10:27:33 +00:00
19 lines
426 B
Go
19 lines
426 B
Go
package models
|
|
|
|
type WebhookBody struct {
|
|
Post WebhookPostBody `json:"post"`
|
|
}
|
|
type WebhookPostBody struct {
|
|
Current WebhookPost `json:"current"`
|
|
}
|
|
|
|
type WebhookPost struct {
|
|
ID string `json:"id"`
|
|
Title string `json:"title"`
|
|
Url string `json:"url"`
|
|
Slug string `json:"slug"`
|
|
Excerpt string `json:"excerpt"`
|
|
HtmlMarkup string `json:"html"`
|
|
PublishedAt string `json:"published_at"`
|
|
}
|