Help us shape the future of Go! Take the 2026 Go Developer Survey

sdk

package
v0.6.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataType

func DataType(n *plugin.Identifier) string

func DoubleSlashComment

func DoubleSlashComment(s string) string

func EscapeBacktick

func EscapeBacktick(s string) string

Go string literals cannot contain backtick. If a string contains a backtick, replace it the following way:

input:

SELECT `group` FROM foo

output:

SELECT ` + "`" + `group` + "`" + ` FROM foo

The escaped string must be rendered inside an existing string literal

A string cannot be escaped twice

func LowerTitle

func LowerTitle(s string) string

func MatchString

func MatchString(pat, target string) bool

func SameTableName

func SameTableName(tableID, f *plugin.Identifier, defaultSchema string) bool

func Title

func Title(s string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL