Documentation
¶
Index ¶
Constants ¶
View Source
const GetLanguagesEndpoint = "languages/"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GetLanguagesRepoAction ¶
type GetLanguagesRepoAction interface {
GetLanguages(context.Context, LanguagesQuery) (Languages, error)
}
type GetLanguagesService ¶
type GetLanguagesService interface {
GetLanguages(context.Context, LanguagesQuery) (Languages, error)
}
type Language ¶
type Language struct { ID uint `json:"id" example:"53"` URL string `json:"url" example:"https://www.lingq.com/api/v2/languages/{language_id}/"` Code string `json:"code" example:"mk"` Title string `json:"title" example:"Macedonian"` Supported bool `json:"supported" example:"false"` KnownWords uint `json:"knownWords" example:"0"` }
type LanguagesQuery ¶
type Repo ¶
type Repo interface { GetLanguagesRepoAction }
Click to show internal directories.
Click to hide internal directories.