Versions in this module Expand all Collapse all v1 v1.0.0 Aug 7, 2024 Changes in this version + const CommentPrefix + func GetCreateIndexStatement(statement *pg_query.RawStmt) *pg_query.IndexStmt + func GetDropIndexStatement(statement *pg_query.RawStmt) *pg_query.DropStmt + func IsCommentPrefix(input string, position int) bool + func IsNewline(input string, position int) bool + func IsValidOffset(input string, offset int) bool + func SkipComments(input string, offset int) int + func SkipSpace(input string, offset int) int + func SkipUntilNewLine(input string, offset int) int + func SkipWhitespaceAndComments(input string, byteOffset int) int + type Line struct + Number int + TextByteOffset int + type TextLocation struct + LineCharPosition int + LineNumber int + func GetTextLocation(input string, byteOffset int) TextLocation