func (d *CatalogServiceQuery) String() string {
	name := d.name
	if d.tag != "" {
		name = d.tag + "." + name
	}
	if d.dc != "" {
		name = name + "@" + d.dc
	}
	if d.near != "" {
		name = name + "~" + d.near
	}
	return fmt.Sprintf("catalog.service(%s)", name)
}
func (d *CatalogServiceQuery) String() string {
	name := d.name
	if d.tag != "" {
		name = d.tag + "." + name
	}
	if d.dc != "" {
		name = name + "@" + d.dc
	}
	if d.near != "" {
		name = name + "~" + d.near
	}
	return fmt.Sprintf("catalog.service(%s)", name)
}
func ( d * CatalogServiceQuery ) String ( ) string { name := d . name if d . tag != " " { name = d . tag + " " + name } if d . dc != " " { name = name + " " + d . dc } if d . near != " " { name = name + " " + d . near } return fmt . Sprintf ( " " , name ) }
// String returns the human-friendly version of this dependency.
String returns the human - friendly version of this dependency .