mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-24 08:25:31 +00:00
Commit from GitHub Actions (Publish APIs & Clients)
This commit is contained in:
@@ -16,13 +16,13 @@ type HolidaysService struct {
|
||||
client *client.Client
|
||||
}
|
||||
|
||||
//
|
||||
// Get the list of countries that are supported by this API
|
||||
func (t *HolidaysService) Countries(request *CountriesRequest) (*CountriesResponse, error) {
|
||||
rsp := &CountriesResponse{}
|
||||
return rsp, t.client.Call("holidays", "Countries", request, rsp)
|
||||
}
|
||||
|
||||
//
|
||||
// List the holiday dates for a given country and year
|
||||
func (t *HolidaysService) List(request *ListRequest) (*ListResponse, error) {
|
||||
rsp := &ListResponse{}
|
||||
return rsp, t.client.Call("holidays", "List", request, rsp)
|
||||
|
||||
Reference in New Issue
Block a user