Versions in this module Expand all Collapse all v0 v0.6.0 Jan 28, 2024 v0.5.0 Apr 9, 2023 Changes in this version + func Fprint(output io.Writer, fset *token.FileSet, node any) error + type CommentedNode struct + Comments []*ast.CommentGroup + Node any + type Config struct + Indent int + Mode Mode + Tabwidth int + func (cfg *Config) Fprint(output io.Writer, fset *token.FileSet, node any) error + type Mode uint + const RawFormat + const SourcePos + const TabIndent + const UseSpaces