fix: Update URL Value method to use pointer receiver for consistency

This commit is contained in:
2024-11-11 16:19:06 +02:00
committed by antanst (aider)
parent a19f157c80
commit bb49ea8565

View File

@@ -39,7 +39,7 @@ func (u *URL) String() string {
}
// Value implements the driver.Valuer interface
func (u URL) Value() (driver.Value, error) {
func (u *URL) Value() (driver.Value, error) {
if u.Full == "" {
return nil, nil
}