Commit from GitHub Actions (Publish APIs & Clients)

This commit is contained in:
domwong
2021-09-21 19:20:10 +00:00
parent a423dd9e99
commit d4f704166b
10 changed files with 12 additions and 12 deletions

View File

@@ -6,7 +6,7 @@ import (
"os"
)
//
// Get the list of countries that are supported by this API
func ListCountries() {
holidaysService := holidays.NewHolidaysService(os.Getenv("MICRO_API_TOKEN"))
rsp, err := holidaysService.Countries(&holidays.CountriesRequest{})

View File

@@ -1,6 +1,6 @@
import * as holidays from "m3o/holidays";
//
// Get the list of countries that are supported by this API
async function ListCountries() {
let holidaysService = new holidays.HolidaysService(
process.env.MICRO_API_TOKEN

View File

@@ -6,7 +6,7 @@ import (
"os"
)
//
// List the holiday dates for a given country and year
func GetHolidays() {
holidaysService := holidays.NewHolidaysService(os.Getenv("MICRO_API_TOKEN"))
rsp, err := holidaysService.List(&holidays.ListRequest{

View File

@@ -1,6 +1,6 @@
import * as holidays from "m3o/holidays";
//
// List the holiday dates for a given country and year
async function GetHolidays() {
let holidaysService = new holidays.HolidaysService(
process.env.MICRO_API_TOKEN