Closed kk-no closed 2 years ago
Version
Describe the bug
If the HubSpot field does not have a value, the struct will be marshalled with nil. But, the HsStr.String is a method of value type, a call with nil will fail and a panic will be occurred. We need to make the receiver a pointer and do a nil check.
Version
Describe the bug
If the HubSpot field does not have a value, the struct will be marshalled with nil. But, the HsStr.String is a method of value type, a call with nil will fail and a panic will be occurred. We need to make the receiver a pointer and do a nil check.