code: func Link(name string, view ...string) {
  	if mt, ok := mediaTypeDefinition(); ok {
  		if mt.Links == nil {
  			mt.Links = make(map[string]*design.LinkDefinition)
  		} else {
  			if _, ok := mt.Links[name]; ok {
  				dslengine.ReportError("duplicate definition for link %#v", name)
  				return
  			}
  		}
  		link := &design.LinkDefinition{Name: name, Parent: mt}
  		if len(view) > 1 {
  			dslengine.ReportError("invalid syntax in Link definition for %#v, allowed syntax is Link(name) or Link(name, view)", name)
  		}
  		if len(view) > 0 {
  			link.View = view[0]
  		} else {
  			link.View = "link"
  		}
  		mt.Links[name] = link
  	}
  }
docs: // Link can be used in: Links
  //
  // Link adds a link to a media type. At the minimum a link has a name corresponding to one of the
  // media type attribute names. A link may also define the view used to render the linked-to
  // attribute. The default view used to render links is "link". Examples:
  //
  //	Link("origin")		// Use the "link" view of the "origin" attribute
  //	Link("account", "tiny")	// Use the "tiny" view of the "account" attribute