Пример #1
0
func NewApi(key string, loc string) *Api {
	return &Api{
		Key:      key,
		Location: loc,
		Api:      api.MustNew(baseURI),
	}
}
Пример #2
0
func NewApi() *Api {
	return &Api{
		RU: api.MustNew(baseRU),
		EN: api.MustNew(baseEN),
	}
}