Skip to content

Commit

Permalink
Dividers to help readability.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryan Amundson committed Jan 17, 2024
1 parent 17b10b5 commit f389e5e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions us-enrichment-api/lookup.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ type enrichmentLookup interface {
UnmarshalResponse([]byte) error
}

////////////////////////////////////////////////////////////////////////////////////////

type financialLookup struct {
SmartyKey string
Response []*FinancialResponse
Expand All @@ -33,6 +35,8 @@ func (f *financialLookup) UnmarshalResponse(bytes []byte) error {
return json.Unmarshal(bytes, &f.Response)
}

////////////////////////////////////////////////////////////////////////////////////////

type principalLookup struct {
SmartyKey string
Response []*PrincipalResponse
Expand All @@ -54,6 +58,8 @@ func (p *principalLookup) UnmarshalResponse(bytes []byte) error {
return json.Unmarshal(bytes, &p.Response)
}

////////////////////////////////////////////////////////////////////////////////////////

const (
financialDataSubset = "financial"
principalDataSubset = "principal"
Expand Down

0 comments on commit f389e5e

Please sign in to comment.