Documentation ¶ Overview ¶ Package sqllex recognizes PostgreSQL lexical boundaries without parsing SQL. Index ¶ func Walk(sql string, parameter, lineComment func(string) string) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Walk ¶ func Walk(sql string, parameter, lineComment func(string) string) string Walk visits named parameters and standalone line comments in executable SQL. Quoted strings/identifiers, dollar bodies, casts and nested block comments are opaque. Returning replacement text is literal: it is never scanned again. Types ¶ This section is empty. Source Files ¶ View all Source files scan.go Click to show internal directories. Click to hide internal directories.