Versions in this module Expand all Collapse all v0 v0.3.0 Jul 1, 2023 v0.2.0 Jun 30, 2023 Changes in this version + func CommentGroupToJSON(group *ast.CommentGroup) json.RawMessage + func CommentToJSON(c *ast.Comment) json.RawMessage + func ImportDeclarationsToJSON(fset *token.FileSet, decls []ImportDeclaration) json.RawMessage + func ImportDelarationToJSON(fset *token.FileSet, id ImportDeclaration) json.RawMessage + func ImportGroupToJSON(fset *token.FileSet, isg ImportGroup) json.RawMessage + func MergeDocComments(groups []*ast.CommentGroup) *ast.CommentGroup + type ImportDeclaration struct + DetachedComments []*ast.CommentGroup + Doc *ast.CommentGroup + ImportGroups []ImportGroup + LeadingComments []*ast.CommentGroup + func MergeDeclarations(decls []ImportDeclaration) ImportDeclaration + type ImportGroup struct + Doc *ast.CommentGroup + Specs []*ast.ImportSpec + func MergeGroups(groups []ImportGroup) ImportGroup + type ImportTransform func(decls []ImportDeclaration) []ImportDeclaration