Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Complex ¶
type Complex struct {
Simple
Caption string `json:"caption"`
Credit string `json:"credit"`
// The available cropped images
Crops []ComplexCrops `json:"crops"`
Cutline string `json:"cutline,omitempty"`
DatePhotoTaken time.Time `json:"datePhotoTaken"`
Orientation string `json:"orientation"`
OriginalSize ComplexOriginalSize `json:"originalSize"`
// a type
Type string `json:"type"`
// Universal Resource Locator
URL ComplexURL `json:"URL"`
}
type ComplexCrops ¶
type ComplexOriginalSize ¶
type ComplexURL ¶
type ComplexURL struct {
// The full Canonical URL
Absolute string `json:"absolute"`
Meta ComplexURLMeta `json:"meta,omitzero"`
Publish string `json:"publish"`
}
type ComplexURLMeta ¶
type Nested ¶
type Nested struct {
// Information related to the International Fact-Checking Network (IFCN) program
FactCheckClaims []NestedFactCheckClaims `json:"factCheckClaims"`
}
type NestedFactCheckClaims ¶
type NestedFactCheckClaims struct {
// The factCheck appearanceURLs
AppearanceURLs []NestedFactCheckClaimsAppearanceURLs `json:"appearanceURLs,omitempty"`
// The factCheck author
Author string `json:"author,omitempty"`
// The factCheck claim
Claim string `json:"claim,omitempty"`
// The date of the factCheck
Date string `json:"date,omitempty"`
// The factCheck rating
Rating string `json:"rating,omitempty"`
}
type Simple ¶
type Simple struct {
Contributors []SimpleContributors `json:"contributors,omitempty"`
Height int64 `json:"height,omitempty"`
SomeDateObj SimpleSomeDateObj `json:"someDateObj,omitzero"`
Type string `json:"type"`
Visible bool `json:"visible,omitempty"`
Width float64 `json:"width,omitempty"`
}
type SimpleContributors ¶
type SimpleSomeDateObj ¶
Click to show internal directories.
Click to hide internal directories.