Documentation ¶
Index ¶
- func CleanedComments(rawSQL string, cs CommentSyntax) ([]string, error)
- func LineNumber(source string, head int) (int, int)
- func Mutate(raw string, a []Edit) (string, error)
- func Pluck(source string, location, length int) (string, error)
- func StripComments(sql string) (string, []string, error)
- type CommentSyntax
- type Edit
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanedComments ¶ added in v1.23.0
func CleanedComments(rawSQL string, cs CommentSyntax) ([]string, error)
Types ¶
type CommentSyntax ¶ added in v1.23.0
Click to show internal directories.
Click to hide internal directories.