func (u *URL) WithAttribute(attr string) *URL {
	if u == nil {
		return nil
	}
	uCopy := *u
	uCopy.Attribute = attr
	return &uCopy
}
// WithAttribute returns the URL with the specified attribute.
WithAttribute returns the URL with the specified attribute.
// WithAttribute returns the URL with the specified attribute .
func (u *URL) WithAttribute(attr string) *URL {
	if u == nil {
		return nil
	}
	uCopy := *u
	uCopy.Attribute = attr
	return &uCopy
}
func ( u * URL ) WithAttribute ( attr string ) * URL { if u == nil { return nil } uCopy := * u uCopy . Attribute = attr return & uCopy }
WithAttribute returns the URL with the specified attribute.
WithAttribute returns the URL with the specified attribute .