Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnexpectedResponse = errors.New("concept search API returned a non-200 HTTP status code")
Functions ¶
This section is empty.
Types ¶
type Concept ¶
type Concept struct { ID string `json:"id"` ApiUrl string `json:"apiUrl,omitempty"` Type string `json:"type,omitempty"` PrefLabel string `json:"prefLabel,omitempty"` IsFTAuthor bool `json:"isFTAuthor,omitempty"` }
Concept models the concept data returned from the UPP concepts API
type ReadAPI ¶
type SearchResult ¶
SearchResult models the data returned from the UPP concepts API used (i.e. internal-concordances)
Click to show internal directories.
Click to hide internal directories.