If one describes a string field as gorm:"type:text". It will not be taken into consideration as the sql variable defined in default is different than the original one at line 155.:=` creating a new variable. As the function returns the first variable in this case it will actually return an empty string.
If one describes a string field as
gorm:"type:text". It will not be taken into consideration as the sql variable defined in default is different than the original one at line 155.
:=` creating a new variable. As the function returns the first variable in this case it will actually return an empty string.