Versions in this module Expand all Collapse all v1 v1.3.1 Mar 20, 2022 v1.3.0 Mar 18, 2022 Changes in this version + var DefaultConfig = Config + func Format(src []byte) ([]byte, error) + func Fprint(output io.Writer, node ast.Node) error + type ByPosition []*ast.CommentGroup + func (b ByPosition) Len() int + func (b ByPosition) Less(i, j int) bool + func (b ByPosition) Swap(i, j int) + type Config struct + SpacesWidth int + func (c *Config) Fprint(output io.Writer, node ast.Node) error