Skip to content

Commit

Permalink
Update codec/reflectcodec/struct_fielder.go
Browse files Browse the repository at this point in the history
Co-authored-by: Stephen Buttolph <[email protected]>
Signed-off-by: Cesar <[email protected]>
  • Loading branch information
nytzuga and StephenButtolph authored Nov 1, 2023
1 parent 9761d05 commit 79f8e3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codec/reflectcodec/struct_fielder.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func (s *structFielder) GetSerializedFields(t reflect.Type) ([]FieldDesc, error)
nullable bool
)
for _, tag := range s.tags {
switch tagValue := field.Tag.Get(tag); tagValue {
switch field.Tag.Get(tag) {
case TagValue:
captureField = true
case TagWithNullableValue:
Expand Down

0 comments on commit 79f8e3b

Please sign in to comment.