예제 #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),
	}
}