Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PackageDoc ¶
func SortCommentsByPos ¶
func SortCommentsByPos(comments []*ast.CommentGroup) []*ast.CommentGroup
SortCommentsByPos takes a slice of comment groups and sorts it by Pos. All comment groups must be from the same file.
func SortObjectsByPos ¶
SortObjectsByPos takes a map of ast objects and sorts it by Pos to a slice. All objects must be from the same file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.