For instance,

// Node returns a tree node. The value for the node type are specified 
// in the definition of @href="NodeType"
type Node struct{...}

// NodeType defines the types of Node values
// They can be ...etc
type NodeType int


clicking on the ref would allow to make a jump to the relevant part of the 
documentation for instance.
Is there any facility already for this?
On Saturday, January 16, 2021 at 2:20:33 PM UTC+1 atd...@gmail.com wrote:

> Hello,
>
> Just wondering if there is a way to create references to other fields in 
> go comments.
> If it does not exist, wouldn't it be something valuable, for easier 
> navigation in godoc and its new iteration? (I would assume that we would 
> have to check comments for broken references on code change)
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/21019787-a59c-4cde-8d9c-8ed9821eefaen%40googlegroups.com.

Reply via email to