Skip to content

Commit

Permalink
Add GoDoc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
osamingo committed Feb 19, 2023
1 parent d218e07 commit 01314c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 01314c4

Please sign in to comment.