Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type All_of_with_properties ¶
type All_of_with_properties struct {
CoachId string `json:"coachId,omitempty"`
Contributors []struct {
ContributorId string `json:"contributorId,omitempty"`
Id string `json:"id"`
Name string `json:"name"`
} `json:"contributors,omitempty"`
Height int64 `json:"height,omitempty"`
Season string `json:"season,omitempty"`
SomeDateObj struct {
Dates []time.Time `json:"dates,omitempty"`
} `json:"someDateObj,omitzero"`
Type string `json:"type"`
Visible bool `json:"visible,omitempty"`
Width float64 `json:"width,omitempty"`
}
type Complex ¶
type Complex struct {
Caption string `json:"caption"`
Credit string `json:"credit"`
Crops []struct {
Height float64 `json:"height"`
Name string `json:"name"`
Path string `json:"path" description:"full path to the cropped image file"`
RelativePath string `json:"relativePath" description:"a long"`
Width float64 `json:"width"`
} `json:"crops" description:"The available cropped images"`
Cutline string `json:"cutline,omitempty"`
DatePhotoTaken time.Time `json:"datePhotoTaken"`
Orientation string `json:"orientation"`
OriginalSize struct {
Height float64 `json:"height"`
Width float64 `json:"width"`
} `json:"originalSize"`
Type string `json:"type" description:"a type"`
URL struct {
Absolute string `json:"absolute" description:"The full Canonical URL"`
Meta struct {
Description string `json:"description"`
SiteName string `json:"siteName"`
} `json:"meta,omitzero"`
Publish string `json:"publish"`
} `json:"URL" description:"Universal Resource Locator"`
}
type Embedded ¶ added in v1.7.0
type Embedded struct {
Simple_no_nested
Complex
AnotherField string `json:"anotherField,omitempty"`
}
type Nested ¶
type Nested struct {
// Information related to the International Fact-Checking Network (IFCN) program
FactCheckClaims []struct {
// The factCheck appearanceURLs
AppearanceURLs []struct {
// The original flag
Original bool `json:"original,omitempty"`
// The appearance url
Url string `json:"url"`
} `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"`
} `json:"factCheckClaims"`
}
type Nested_to_primitive ¶ added in v1.1.3
type Simple ¶
type Simple struct {
Contributors []struct {
ContributorId string `json:"contributorId,omitempty"`
Id string `json:"id"`
Name string `json:"name"`
} `json:"contributors,omitempty"`
Height int64 `json:"height,omitempty"`
SomeDateObj struct {
Dates []time.Time `json:"dates,omitempty"`
} `json:"someDateObj,omitzero"`
Type string `json:"type"`
Visible bool `json:"visible,omitempty"`
Width float64 `json:"width,omitempty"`
}
type Simple_map ¶ added in v1.8.0
type Simple_no_nested ¶ added in v1.7.0
type Simple_no_nested struct {
Contributors []Simple_no_nestedContributors `json:"contributors,omitempty"`
Height int64 `json:"height,omitempty"`
SomeDateObj Simple_no_nestedSomeDateObj `json:"someDateObj,omitzero"`
Visible bool `json:"visible,omitempty"`
Width float64 `json:"width,omitempty"`
}
type Simple_no_nestedContributors ¶ added in v1.7.0
type Simple_no_nestedSomeDateObj ¶ added in v1.7.0
Click to show internal directories.
Click to hide internal directories.