Versions in this module Expand all Collapse all v1 v1.0.1 Sep 13, 2022 v1.0.0 Sep 12, 2022 Changes in this version + const DefaultEndpoint + func UserAgent() string + func Version() string + type Answer = original.Answer + type Article = original.Article + type BaseClient = original.BaseClient + func New() BaseClient + func NewWithoutDefaults(endpoint string) BaseClient + type BasicAnswer = original.BasicAnswer + type BasicArticle = original.BasicArticle + type BasicCreativeWork = original.BasicCreativeWork + type BasicIdentifiable = original.BasicIdentifiable + type BasicMediaObject = original.BasicMediaObject + type BasicResponse = original.BasicResponse + type BasicResponseBase = original.BasicResponseBase + type BasicSearchResultsAnswer = original.BasicSearchResultsAnswer + type BasicThing = original.BasicThing + type CreativeWork = original.CreativeWork + type Error = original.Error + type ErrorCode = original.ErrorCode + const InsufficientAuthorization + const InvalidAuthorization + const InvalidRequest + const None + const RateLimitExceeded + const ServerError + func PossibleErrorCodeValues() []ErrorCode + type ErrorResponse = original.ErrorResponse + type ErrorSubCode = original.ErrorSubCode + const AuthorizationDisabled + const AuthorizationExpired + const AuthorizationMissing + const AuthorizationRedundancy + const Blocked + const HTTPNotAllowed + const NotImplemented + const ParameterInvalidValue + const ParameterMissing + const ResourceError + const UnexpectedError + func PossibleErrorSubCodeValues() []ErrorSubCode + type Freshness = original.Freshness + const Day + const Month + const Week + func PossibleFreshnessValues() []Freshness + type Identifiable = original.Identifiable + type ImageObject = original.ImageObject + type MediaObject = original.MediaObject + type News = original.News + type NewsArticle = original.NewsArticle + type NewsClient = original.NewsClient + func NewNewsClient() NewsClient + type NewsTopic = original.NewsTopic + type Organization = original.Organization + type Query = original.Query + type Response = original.Response + type ResponseBase = original.ResponseBase + type SafeSearch = original.SafeSearch + const Moderate + const Off + const Strict + func PossibleSafeSearchValues() []SafeSearch + type SearchResultsAnswer = original.SearchResultsAnswer + type TextFormat = original.TextFormat + const HTML + const Raw + func PossibleTextFormatValues() []TextFormat + type Thing = original.Thing + type TrendingTopics = original.TrendingTopics + type Type = original.Type + const TypeAnswer + const TypeArticle + const TypeCreativeWork + const TypeErrorResponse + const TypeIdentifiable + const TypeImageObject + const TypeMediaObject + const TypeNews + const TypeNewsArticle + const TypeNewsTopic + const TypeOrganization + const TypeResponse + const TypeResponseBase + const TypeSearchResultsAnswer + const TypeThing + const TypeTrendingTopics + const TypeVideoObject + func PossibleTypeValues() []Type + type VideoObject = original.VideoObject