type URL … var URLObject … var typeValue … var URLType … // ConvertToNative implements ref.Val.ConvertToNative. func (d URL) ConvertToNative(typeDesc reflect.Type) (interface{ … } // ConvertToType implements ref.Val.ConvertToType. func (d URL) ConvertToType(typeVal ref.Type) ref.Val { … } // Equal implements ref.Val.Equal. func (d URL) Equal(other ref.Val) ref.Val { … } // Type implements ref.Val.Type. func (d URL) Type() ref.Type { … } // Value implements ref.Val.Value. func (d URL) Value() interface{ … }