Skip to content

Commit

Permalink
format code should be in options not in constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
bpross committed Nov 11, 2024
1 parent db62c2e commit aa525e9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions field/track1.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ func NewTrack1(spec *Spec) *Track1 {
}

func NewTrack1Value(
formatCode,
primaryAccountNumber,
name string,
expirationDate *time.Time,
Expand All @@ -54,7 +53,6 @@ func NewTrack1Value(
opts ...Track1Option,
) *Track1 {
t := &Track1{
FormatCode: formatCode,
PrimaryAccountNumber: primaryAccountNumber,
Name: name,
ExpirationDate: expirationDate,
Expand Down

0 comments on commit aa525e9

Please sign in to comment.