From aa525e9b69132864a498bc03dfa9b62d13992ae3 Mon Sep 17 00:00:00 2001 From: Benjamin Ross Date: Mon, 11 Nov 2024 14:20:20 -0700 Subject: [PATCH] format code should be in options not in constructor --- field/track1.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/field/track1.go b/field/track1.go index 9d1a856..e64d0ec 100644 --- a/field/track1.go +++ b/field/track1.go @@ -45,7 +45,6 @@ func NewTrack1(spec *Spec) *Track1 { } func NewTrack1Value( - formatCode, primaryAccountNumber, name string, expirationDate *time.Time, @@ -54,7 +53,6 @@ func NewTrack1Value( opts ...Track1Option, ) *Track1 { t := &Track1{ - FormatCode: formatCode, PrimaryAccountNumber: primaryAccountNumber, Name: name, ExpirationDate: expirationDate,