Versions in this module Expand all Collapse all v1 v1.0.0 Jan 8, 2024 Changes in this version + func FormatSQL(sql string) string + func ParseOneSql(sql string) (ast.StmtNode, error) + func RestoreToSqlWithFlag(flag format.RestoreFlags, stmt ast.Node) (string, error) + type FormatVisitor struct + func (f *FormatVisitor) Enter(n ast.Node) (node ast.Node, skipChildren bool) + func (f *FormatVisitor) Leave(n ast.Node) (node ast.Node, ok bool)