Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUnknownError = errors.New("Something is wrong") ErrPokemonNotFound = errors.New("Pokedex pokemon cannot be found") )
Functions ¶
func WithClientTimeout ¶
Types ¶
type Service ¶
func NewService ¶
func NewService(config ServiceConfig) Service
type ServiceConfig ¶
type ServiceConfig struct {
APIBaseURL string
}
Click to show internal directories.
Click to hide internal directories.