type RefLinker interface { Ref(args map[string]interface{}) (string, error) RelRef(args map[string]interface{}) (string, error) }
RefLinker is implemented by those who support reference linking. args must contain a path, but can also point to the target language or output format.