Documentation ¶ Index ¶ 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 Edit Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func LineNumber ¶ func LineNumber(source string, head int) (int, int) func Mutate ¶ func Mutate(raw string, a []Edit) (string, error) func Pluck ¶ func Pluck(source string, location, length int) (string, error) func StripComments ¶ func StripComments(sql string) (string, []string, error) Types ¶ type Edit ¶ type Edit struct { Location int Old string New string } Source Files ¶ View all Source files code.go Click to show internal directories. Click to hide internal directories.