mirror of
https://github.com/Damillora/Yuriko.git
synced 2024-11-22 09:37:31 +00:00
20 lines
467 B
Go
20 lines
467 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"`
|
|
PrimaryTag string `json:"primary_tag"`
|
|
PublishedAt string `json:"published_at"`
|
|
}
|