From 01314c4d10a8ce94db97f5e4aa60fd305f2e5aae Mon Sep 17 00:00:00 2001 From: Osamu TONOMORI Date: Sun, 19 Feb 2023 23:35:38 +0900 Subject: [PATCH] Add GoDoc comment --- client.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client.go b/client.go index 37f003a..3667e7b 100644 --- a/client.go +++ b/client.go @@ -258,10 +258,12 @@ func (cli *Client) GetNormalizeAddress(ctx context.Context, address string) (*Ge return &res, nil } +// A GetBusinessDaysResponse is a result from the kenall service of the API to get the business days. type GetBusinessDaysResponse struct { BusinessDay *BusinessDay } +// GetBusinessDays requests to the kenall service to get business days by a date. func (cli *Client) GetBusinessDays(ctx context.Context, date time.Time) (*GetBusinessDaysResponse, error) { if date.IsZero() { return nil, ErrInvalidArgument