Documentation ¶ Overview ¶ Package sqllike escapes user text for use inside a SQL LIKE pattern. Index ¶ func Escape(s string) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Escape ¶ func Escape(s string) string Escape returns s with the LIKE metacharacters backslash, percent and underscore each prefixed by a backslash, so they match themselves. It is for use with ESCAPE '\' on the LIKE or ILIKE clause that receives the result. Types ¶ This section is empty. Source Files ¶ View all Source files sqllike.go Click to show internal directories. Click to hide internal directories.